modules/freifunk: fix cronjob installation
[project/luci.git] / modules / freifunk / root / etc / init.d / freifunk
1 #!/bin/sh /etc/rc.common
2 # Freifunk Init
3 # $Id$
4
5 START=99
6
7 boot() {
8         grep -q 'killall -HUP dnsmasq' /etc/crontabs/root || {
9                 echo "*/5 * * * *       killall -HUP dnsmasq" >> /etc/crontabs/root
10         }
11
12         [ -f /etc/rc.local ] && . /etc/rc.local
13 }