diff options
author | Mike Baker <mbm@openwrt.org> | 2005-02-06 00:52:16 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2005-02-06 00:52:16 +0000 |
commit | 6beed4602a645145cf500bfd211985eece93e35d (patch) | |
tree | 7f74d65e19595fd3b6a258f82ced9c9c964df586 /target/default/target_skeleton/etc/init.d/S99done | |
parent | 5acb824a30657b31ba7d30313d64a7da9742eb16 (diff) | |
download | master-187ad058-6beed4602a645145cf500bfd211985eece93e35d.tar.gz master-187ad058-6beed4602a645145cf500bfd211985eece93e35d.tar.bz2 master-187ad058-6beed4602a645145cf500bfd211985eece93e35d.zip |
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 0000000000..8811e99bff --- /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 |