diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-06 00:52:16 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-06 00:52:16 +0000 |
commit | c31ac521e420aa0cfd3ddbc0859b29b0e2a3ff3e (patch) | |
tree | 7f74d65e19595fd3b6a258f82ced9c9c964df586 /target/default/target_skeleton/etc/init.d/S99done | |
parent | 4aba84e6f06f55c77ff8dbbcf0de172c6c14d03b (diff) |
openwrt root filesystem
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@211 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/target_skeleton/etc/init.d/S99done')
-rwxr-xr-x | target/default/target_skeleton/etc/init.d/S99done | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/default/target_skeleton/etc/init.d/S99done b/target/default/target_skeleton/etc/init.d/S99done new file mode 100755 index 000000000..8811e99bf --- /dev/null +++ b/target/default/target_skeleton/etc/init.d/S99done @@ -0,0 +1,7 @@ +#!/bin/sh +# automagically run firstboot +[ -z "$FAILSAFE" ] && { + { mount | grep jffs2 1>&-; } || firstboot +} +# set leds to normal state +echo "0x00" > /proc/sys/diag |