modules/freifunk: remove custom rc.local handling
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 11 Nov 2009 13:48:30 +0000 (13:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 11 Nov 2009 13:48:30 +0000 (13:48 +0000)
modules/freifunk/root/etc/init.d/freifunk
modules/freifunk/root/etc/rc.local [deleted file]

index 8b280cd..273f832 100755 (executable)
@@ -27,7 +27,6 @@ boot() {
                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"
        [ -d /etc/rc.local.d ] && {
                for file in /etc/rc.local.d/*; do
                        test -f "$file" && . "$file"
diff --git a/modules/freifunk/root/etc/rc.local b/modules/freifunk/root/etc/rc.local
deleted file mode 100644 (file)
index 58e44e4..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# /etc/rc.local
-# Only executed on boot, put your custom startup commands here