From: Jo-Philipp Wich Date: Sat, 31 Jan 2009 17:32:01 +0000 (+0000) Subject: modules/freifunk: start crond if required, send sighup after processing custom scripts X-Git-Tag: 0.9.0~693 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=d7d27ffe6adfb42be253bf2a62e7cc4e209affaf;hp=7ab4dcc9df943191221c26752b7ae07855884ce8 modules/freifunk: start crond if required, send sighup after processing custom scripts --- 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 }