projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[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
diff --git
a/package/base-files/files/etc/init.d/done
b/package/base-files/files/etc/init.d/done
index
0640b61
..
8278669
100755
(executable)
--- 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
This page took
0.022923 seconds
and
4
git commands to generate.