811d90ff40
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36429
20 lines
318 B
Bash
Executable file
20 lines
318 B
Bash
Executable file
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
START=95
|
|
boot() {
|
|
[ -d /tmp/root ] && {
|
|
lock /tmp/.switch2jffs
|
|
firstboot switch2jffs
|
|
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
|
|
}
|