0640b61938413fb563a9933f02f5a46ba0f39c09
[openwrt.git] / target / linux / brcm-2.4 / base-files / default / etc / init.d / done
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 START=95
5 boot() {
6         [ -d /tmp/root ] && {
7                 lock /tmp/.switch2jffs
8                 firstboot switch2jffs
9                 lock -u /tmp/.switch2jffs
10         }
11
12         # set leds to normal state
13         . /etc/diag.sh
14         set_state done
15 }