2
0
forked from Ivasoft/openwrt

unified preinit environment

SVN-Revision: 7173
This commit is contained in:
Mike Baker
2007-05-10 14:37:47 +00:00
parent 862103b039
commit 4a41439c46
14 changed files with 49 additions and 343 deletions

View File

@@ -1,15 +0,0 @@
#!/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
}
# set leds to normal state
. /etc/diag.sh
set_state done
}