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:
9856a5f
)
Merge r4192
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 30 Jan 2009 16:05:44 +0000
(16:05 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 30 Jan 2009 16:05:44 +0000
(16:05 +0000)
modules/freifunk/root/etc/init.d/freifunk
patch
|
blob
|
history
diff --git
a/modules/freifunk/root/etc/init.d/freifunk
b/modules/freifunk/root/etc/init.d/freifunk
index 799676fe9e6f4a7c630882089561df72e8045c23..f1b274471cbc86ded68fb2dbe028a69a51d6491e 100755
(executable)
--- a/
modules/freifunk/root/etc/init.d/freifunk
+++ b/
modules/freifunk/root/etc/init.d/freifunk
@@
-9,5
+9,14
@@
boot() {
echo "*/5 * * * * killall -HUP dnsmasq" >> /etc/crontabs/root
}
+ grep -q '/usr/sbin/ff_olsr_test_gw' /etc/crontabs/root || {
+ echo "* * * * * /usr/sbin/ff_olsr_test_gw" >> /etc/crontabs/root
+ }
+
[ -f /etc/rc.local ] && . /etc/rc.local
+ [ -d /etc/rc.local.d ] && {
+ for file in /etc/rc.local.d/*; do
+ test -f "$file" && . "$file"
+ done
+ }
}