projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ae86eb
)
modules/freifunk: restart p2pblock on firewall restarts if it's enabled
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 7 Jun 2009 11:52:24 +0000
(11:52 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 7 Jun 2009 11:52:24 +0000
(11:52 +0000)
modules/freifunk/root/etc/firewall.freifunk
patch
|
blob
|
history
diff --git
a/modules/freifunk/root/etc/firewall.freifunk
b/modules/freifunk/root/etc/firewall.freifunk
index d8590fa7970157ff7dc8ba9ad58edad64f2d2769..26a6d8e9de0abbd09f75b7051dd3ab73957664d8 100644
(file)
--- 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 )&