From: Jo-Philipp Wich Date: Sun, 7 Jun 2009 11:52:24 +0000 (+0000) Subject: modules/freifunk: restart p2pblock on firewall restarts if it's enabled X-Git-Tag: 0.9.0~250 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d52b0d11f51cfdcfda77d53b8b9e4c697b1a77cc;p=oweals%2Fluci.git modules/freifunk: restart p2pblock on firewall restarts if it's enabled --- diff --git a/modules/freifunk/root/etc/firewall.freifunk b/modules/freifunk/root/etc/firewall.freifunk index d8590fa79..26a6d8e9d 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 )&