diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-07 11:52:24 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-07 11:52:24 +0000 |
commit | d52b0d11f51cfdcfda77d53b8b9e4c697b1a77cc (patch) | |
tree | 53589d9701e757325a5b86dafef2cfe50e708d65 /modules/freifunk/root | |
parent | 5ae86ebc3f8ee13ef7c267e2de16fbe6664f8cf0 (diff) |
modules/freifunk: restart p2pblock on firewall restarts if it's enabled
Diffstat (limited to 'modules/freifunk/root')
-rw-r--r-- | modules/freifunk/root/etc/firewall.freifunk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/freifunk/root/etc/firewall.freifunk b/modules/freifunk/root/etc/firewall.freifunk index d8590fa797..26a6d8e9de 100644 --- a/modules/freifunk/root/etc/firewall.freifunk +++ b/modules/freifunk/root/etc/firewall.freifunk @@ -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 )& |