2006-11-17 03:07:10 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
|
|
|
|
START=95
|
|
|
|
boot() {
|
|
|
|
[ -d /tmp/root ] && {
|
|
|
|
lock /tmp/.switch2jffs
|
2013-04-25 19:02:32 +00:00
|
|
|
switch2jffs
|
2006-11-17 03:07:10 +00:00
|
|
|
lock -u /tmp/.switch2jffs
|
|
|
|
}
|
|
|
|
|
2009-09-11 21:35:03 +00:00
|
|
|
# process user commands
|
|
|
|
[ -f /etc/rc.local ] && {
|
|
|
|
sh /etc/rc.local
|
|
|
|
}
|
|
|
|
|
2006-11-17 03:07:10 +00:00
|
|
|
# set leds to normal state
|
|
|
|
. /etc/diag.sh
|
|
|
|
set_state done
|
|
|
|
}
|