openwrtv3/package/base-files/brcm/etc/init.d/done
2006-11-21 22:05:41 +00:00

15 lines
243 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
}
# set leds to normal state
. /etc/diag.sh
set_state done
}