diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-03 21:20:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-03 21:20:56 +0000 |
commit | f478bf86c94cb189f27946ab97bfbe76e8d0305e (patch) | |
tree | 51c325671ab7c3efda94f0ceaa1ab49be397643f /target/default/target_skeleton | |
parent | ae0f50e64102599d130c4bc1e276f834f4991f75 (diff) | |
download | master-187ad058-f478bf86c94cb189f27946ab97bfbe76e8d0305e.tar.gz master-187ad058-f478bf86c94cb189f27946ab97bfbe76e8d0305e.tar.bz2 master-187ad058-f478bf86c94cb189f27946ab97bfbe76e8d0305e.zip |
move firstboot from S99done to S10boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@549 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/target_skeleton')
-rwxr-xr-x | target/default/target_skeleton/etc/init.d/S10boot | 5 | ||||
-rwxr-xr-x | target/default/target_skeleton/etc/init.d/S99done | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/target/default/target_skeleton/etc/init.d/S10boot b/target/default/target_skeleton/etc/init.d/S10boot index 1a36583cc2..e1f47ba278 100755 --- a/target/default/target_skeleton/etc/init.d/S10boot +++ b/target/default/target_skeleton/etc/init.d/S10boot @@ -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 +} diff --git a/target/default/target_skeleton/etc/init.d/S99done b/target/default/target_skeleton/etc/init.d/S99done index 8811e99bff..70eef460d7 100755 --- a/target/default/target_skeleton/etc/init.d/S99done +++ b/target/default/target_skeleton/etc/init.d/S99done @@ -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 |