forked from freifunk-franken/VPNkeyXchange
Add "get hood by ID"
The previous server also offered a get_hood_by_ID. Signed-off-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
parent
2b281066f2
commit
587ad17fed
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
hoodfile=$(grep -l "id\": \"$1\"" hood/* )
|
||||
[ -z $hoodfile ] && echo "no hood $1" && exit
|
||||
|
||||
cat $hoodfile
|
Loading…
Reference in New Issue