modules/freifunk: remove custom rc.local handling
[project/luci.git] / modules / freifunk / root / etc / init.d / freifunk
index 3a668b1..273f832 100755 (executable)
@@ -24,10 +24,9 @@ boot() {
        }
 
        grep -q '/usr/sbin/ff_mapupdate' /etc/crontabs/root || {
-               echo "17 * * * *        /usr/sbin/ff_mapupdate >> /etc/crontabs/root
+               echo "17 * * * *        /usr/sbin/ff_mapupdate" >> /etc/crontabs/root
        }
 
-       [ -f /etc/rc.local ] && . /etc/rc.local
        [ -d /etc/rc.local.d ] && {
                for file in /etc/rc.local.d/*; do
                        test -f "$file" && . "$file"