aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/done
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/init.d/done')
-rwxr-xr-xpackage/base-files/files/etc/init.d/done5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/done b/package/base-files/files/etc/init.d/done
index 0640b61938..8278669120 100755
--- a/package/base-files/files/etc/init.d/done
+++ b/package/base-files/files/etc/init.d/done
@@ -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