diff options
| author | Jo-Philipp Wich <jow@openwrt.org> | 2009-01-25 20:25:05 +0000 |
|---|---|---|
| committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-01-25 20:25:05 +0000 |
| commit | fc7d1e62a98011d84422c8e224b71302391a0292 (patch) | |
| tree | 52693cdd8eadbe306696d8f8a0cbaa151e93cf45 | |
| parent | 88ac7d24759a8088db5ba1957e9372f4d3775042 (diff) | |
Merge r4145
| -rwxr-xr-x | modules/freifunk/root/etc/init.d/freifunk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/freifunk/root/etc/init.d/freifunk b/modules/freifunk/root/etc/init.d/freifunk index b7a1f90eb9..799676fe9e 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 } |
