luci-0.8: merge r4463
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 1 May 2009 14:17:03 +0000 (14:17 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 1 May 2009 14:17:03 +0000 (14:17 +0000)
modules/freifunk/root/etc/init.d/freifunk

index 40fa50853628acbb517246096e6b286175ea1d80..d90e3ff5e907dc8ed4070431be47d0535fe6831a 100755 (executable)
@@ -5,6 +5,8 @@
 START=99
 
 boot() {
+       test -f /etc/crontabs/root || touch /etc/crontabs/root
+
        grep -q 'killall -HUP dnsmasq' /etc/crontabs/root || {
                echo "*/5 * * * *       killall -HUP dnsmasq" >> /etc/crontabs/root
        }