modules/freifunk: restart p2pblock on firewall restarts if it's enabled

This commit is contained in:
Jo-Philipp Wich 2009-06-07 11:52:24 +00:00
parent 5ae86ebc3f
commit d52b0d11f5

View file

@ -56,4 +56,7 @@ uci_set_state firewall core loaded 1
config_foreach fw_addif interface
config_foreach apply_nat_fix interface
[ -x /etc/init.d/luci_splash ] && ( sleep 3; /etc/init.d/luci_splash start )&
[ -x /etc/init.d/luci_splash ] && ( sleep 3; /etc/init.d/luci_splash restart )&
[ -x /etc/init.d/freifunk-p2pblock ] && /etc/init.d/freifunk-p2pblock enabled && \
( sleep 3; /etc/init./freifunk-p2pblock restart )&