[package] base-files: introduce a ready-to-use /etc/rc.local to let users run custom...
[openwrt.git] / package / base-files / files / etc / init.d / done
index 0640b61..8278669 100755 (executable)
@@ -9,6 +9,11 @@ boot() {
                lock -u /tmp/.switch2jffs
        }
 
+       # process user commands
+       [ -f /etc/rc.local ] && {
+               sh /etc/rc.local
+       }
+
        # set leds to normal state
        . /etc/diag.sh
        set_state done
This page took 0.022923 seconds and 4 git commands to generate.