forked from freifunk-franken/firmware
Update hostsupdate.sh do get the actual bat hosts. Tim can you to the tmp and ln stuff?
This commit is contained in:
parent
bf6f0ed834
commit
bc1594924c
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
wget -T15 http://$(cat /etc/config/nodewatcher | grep url | awk '{ print $3 }' | sed -e "s/\]'//g" -e "s/'\[//g")/api_nodewatcher.php?section=get_hostnames_and_mac -O - | grep -v -e "^..-..-" | sort -u > /etc/bat-hosts
|
||||
wget -T15 http://[`uci get configurator.@api[0].ipv6_address`%`uci get configurator.@api[0].ipv6_interface`]/api_nodewatcher.php?section=get_hostnames_and_mac -O - | grep -v -e "^..-..-" | sort -u > /etc/bat-hosts
|
||||
|
|
Loading…
Reference in New Issue
Block a user