diff options
| author | Mike Baker <mbm@openwrt.org> | 2004-07-21 03:13:56 +0000 |
|---|---|---|
| committer | Mike Baker <mbm@openwrt.org> | 2004-07-21 03:13:56 +0000 |
| commit | ef2d52108aa43efd63548c2b0edaae676c29ae49 (patch) | |
| tree | eefeff1b48aef1a05db0337a49593c3baa999386 /root/etc | |
| parent | 047796992b8d4f5c36d54cd426b97227507805a2 (diff) | |
| download | upstream-ef2d52108aa43efd63548c2b0edaae676c29ae49.tar.gz upstream-ef2d52108aa43efd63548c2b0edaae676c29ae49.tar.bz2 upstream-ef2d52108aa43efd63548c2b0edaae676c29ae49.zip | |
Hacks to run firstboot automatically
SVN-Revision: 110
Diffstat (limited to 'root/etc')
| -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 c5211813fb6..3ba15e8bc46 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 |
