summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-31 17:32:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-31 17:32:01 +0000
commitd7d27ffe6adfb42be253bf2a62e7cc4e209affaf (patch)
tree8795d67020465921cb8c1e1dd2d3b0c9c538e644 /modules
parent7ab4dcc9df943191221c26752b7ae07855884ce8 (diff)
modules/freifunk: start crond if required, send sighup after processing custom scripts
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/freifunk/root/etc/init.d/freifunk2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/freifunk/root/etc/init.d/freifunk b/modules/freifunk/root/etc/init.d/freifunk
index f1b274471..61bd58055 100755
--- a/modules/freifunk/root/etc/init.d/freifunk
+++ b/modules/freifunk/root/etc/init.d/freifunk
@@ -19,4 +19,6 @@ boot() {
test -f "$file" && . "$file"
done
}
+
+ killall -HUP crond 2>/dev/null || /etc/init.d/cron start
}