From eaf97a931e11636239f2654bea2dc956dfa427ff Mon Sep 17 00:00:00 2001 From: mbm Date: Wed, 21 Jul 2004 03:13:56 +0000 Subject: Hacks to run firstboot automatically git-svn-id: svn://svn.openwrt.org/openwrt/trunk@110 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- root/etc/init.d/S99done | 3 +++ 1 file changed, 3 insertions(+) (limited to 'root/etc/init.d/S99done') 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 -- cgit v1.2.3