modules/freifunk: restart p2pblock on firewall restarts if it's enabled
This commit is contained in:
parent
5ae86ebc3f
commit
d52b0d11f5
1 changed files with 4 additions and 1 deletions
|
@ -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 )&
|
||||
|
|
Loading…
Reference in a new issue