modules/freifunk: fix cronjob installation

This commit is contained in:
Jo-Philipp Wich 2009-01-25 20:24:27 +00:00
parent 950ab853ea
commit 2ea584beaf

View file

@ -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
}