mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 06:21:52 +02:00
f4a0466de8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17571 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
318 B
Bash
Executable File
21 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
|
|
}
|