move firstboot from S99done to S10boot
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Apr 2005 21:20:56 +0000 (21:20 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Apr 2005 21:20:56 +0000 (21:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@549 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/default/target_skeleton/etc/init.d/S10boot
target/default/target_skeleton/etc/init.d/S99done

index 1a36583cc289b783c7b1274291e4242339e8857d..e1f47ba27846f4d82dca8deb90b993bb58362fe9 100755 (executable)
@@ -35,3 +35,8 @@ HOSTNAME=${HOSTNAME%%.*}
 echo ${HOSTNAME:=OpenWrt} > /proc/sys/kernel/hostname
 
 vconfig set_name_type VLAN_PLUS_VID_NO_PAD
+
+# automagically run firstboot
+[ -z "$FAILSAFE" ] && {
+       { mount | grep jffs2 1>&-; } || firstboot
+}
index 8811e99bff6adaf033b9cc506a3263c0bc2b49a1..70eef460d7f3f7e749ffa93d35913f00e1247dea 100755 (executable)
@@ -1,7 +1,3 @@
 #!/bin/sh
-# automagically run firstboot
-[ -z "$FAILSAFE" ] && {
-       { mount | grep jffs2 1>&-; } || firstboot
-}
 # set leds to normal state
 echo "0x00" > /proc/sys/diag