projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
the root password should be empty for real, like before
[librecmc/librecmc.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
done
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
4
START=95
5
boot() {
6
[ -d /tmp/root ] && {
7
lock /tmp/.switch2jffs
8
switch2jffs
9
lock -u /tmp/.switch2jffs
10
}
11
12
# process user commands
13
[ -f /etc/rc.local ] && {
14
sh /etc/rc.local
15
}
16
17
# set leds to normal state
18
. /etc/diag.sh
19
set_state done
20
}