From: Jo-Philipp Wich Date: Sun, 25 Jan 2009 20:25:05 +0000 (+0000) Subject: Merge r4145 X-Git-Tag: 0.8.5~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fc7d1e62a98011d84422c8e224b71302391a0292;p=oweals%2Fluci.git Merge r4145 --- diff --git a/modules/freifunk/root/etc/init.d/freifunk b/modules/freifunk/root/etc/init.d/freifunk index b7a1f90eb..799676fe9 100755 --- a/modules/freifunk/root/etc/init.d/freifunk +++ b/modules/freifunk/root/etc/init.d/freifunk @@ -5,7 +5,9 @@ START=99 boot() { - echo "*/5 * * * * killall -HUP dnsmasq" >> /etc/crontabs/root + grep -q 'killall -HUP dnsmasq' /etc/crontabs/root || { + echo "*/5 * * * * killall -HUP dnsmasq" >> /etc/crontabs/root + } [ -f /etc/rc.local ] && . /etc/rc.local }