modules/freifunk: start crond if required, send sighup after processing custom scripts
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 31 Jan 2009 17:32:01 +0000 (17:32 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 31 Jan 2009 17:32:01 +0000 (17:32 +0000)
modules/freifunk/root/etc/init.d/freifunk

index f1b274471cbc86ded68fb2dbe028a69a51d6491e..61bd58055b4fe6d24ec493b117c728d82e6c3c50 100755 (executable)
@@ -19,4 +19,6 @@ boot() {
                        test -f "$file" && . "$file"
                done
        }
+
+       killall -HUP crond 2>/dev/null || /etc/init.d/cron start
 }