diff options
Diffstat (limited to 'modules/freifunk/root/etc/init.d')
-rwxr-xr-x | modules/freifunk/root/etc/init.d/freifunk | 2 |
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 40fa508536..d90e3ff5e9 100755 --- a/modules/freifunk/root/etc/init.d/freifunk +++ b/modules/freifunk/root/etc/init.d/freifunk @@ -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 } |