modules/freifunk: Remove old ff_mapupdate script
[project/luci.git] / modules / freifunk / root / etc / init.d / freifunk
index 273f832..5ffec43 100755 (executable)
@@ -11,10 +11,6 @@ boot() {
                echo "*/5 * * * *       killall -HUP dnsmasq" >> /etc/crontabs/root
        }
 
-       grep -q '/usr/sbin/ff_olsr_test_gw' /etc/crontabs/root || {
-               echo "* * * * *         /usr/sbin/ff_olsr_test_gw" >> /etc/crontabs/root
-       }
-
        grep -q '/usr/sbin/ff_olsr_watchdog' /etc/crontabs/root || {
                echo "*/5 * * * *       /usr/sbin/ff_olsr_watchdog" >> /etc/crontabs/root
        }
@@ -23,15 +19,11 @@ boot() {
                echo "0 */4 * * *       /usr/sbin/ff_rdate" >> /etc/crontabs/root
        }
 
-       grep -q '/usr/sbin/ff_mapupdate' /etc/crontabs/root || {
-               echo "17 * * * *        /usr/sbin/ff_mapupdate" >> /etc/crontabs/root
-       }
-
        [ -d /etc/rc.local.d ] && {
                for file in /etc/rc.local.d/*; do
                        test -f "$file" && . "$file"
                done
        }
 
-       ( /usr/sbin/ff_rdate; /etc/init.d/cron restart ) &
+       ( sleep 40; /usr/sbin/ff_rdate; /etc/init.d/cron restart ) &
 }