mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-05 05:04:04 +02:00
16 lines
243 B
Plaintext
16 lines
243 B
Plaintext
|
#!/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
|
||
|
}
|