diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-07-21 03:13:56 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-07-21 03:13:56 +0000 |
commit | eaf97a931e11636239f2654bea2dc956dfa427ff (patch) | |
tree | eefeff1b48aef1a05db0337a49593c3baa999386 /root/etc/init.d/S99done | |
parent | 592046f0d75431b20ad38f01fe4f27f06abb797d (diff) |
Hacks to run firstboot automatically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@110 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root/etc/init.d/S99done')
-rwxr-xr-x | root/etc/init.d/S99done | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/root/etc/init.d/S99done b/root/etc/init.d/S99done index c5211813f..3ba15e8bc 100755 --- a/root/etc/init.d/S99done +++ b/root/etc/init.d/S99done @@ -1,3 +1,6 @@ #!/bin/sh +[ -z "$FAILSAFE" ] && { + { mount | grep jffs2 1>-; } || firstboot +} # turn off DMZ led echo "0x00" > /proc/sys/diag |