move firstboot from S99done to S10boot

SVN-Revision: 549
owl
Felix Fietkau 2005-04-03 21:20:56 +00:00
parent 53b3af1889
commit 0808d84bf9
2 changed files with 5 additions and 4 deletions

View File

@ -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
}

View File

@ -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