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 f1b2744..61bd580 100755 (executable)
@@ -19,4 +19,6 @@ boot() {
                        test -f "$file" && . "$file"
                done
        }
                        test -f "$file" && . "$file"
                done
        }
+
+       killall -HUP crond 2>/dev/null || /etc/init.d/cron start
 }
 }