X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm-2.4%2Fbase-files%2Fdefault%2Fetc%2Finit.d%2Fdone;fp=target%2Flinux%2Fbrcm-2.4%2Fbase-files%2Fdefault%2Fetc%2Finit.d%2Fdone;h=0640b61938413fb563a9933f02f5a46ba0f39c09;hb=f5ab57b33522609d1465f937b69f158be90b177f;hp=0000000000000000000000000000000000000000;hpb=4dd22e79dbd45667b38357a18003ce3b4f2a7664;p=openwrt-10.03%2F.git diff --git a/target/linux/brcm-2.4/base-files/default/etc/init.d/done b/target/linux/brcm-2.4/base-files/default/etc/init.d/done new file mode 100755 index 000000000..0640b6193 --- /dev/null +++ b/target/linux/brcm-2.4/base-files/default/etc/init.d/done @@ -0,0 +1,15 @@ +#!/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 +}