mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 09:52:27 +02:00
move firstboot from S99done to S10boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@549 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
88e430882f
commit
f769262d89
@ -35,3 +35,8 @@ HOSTNAME=${HOSTNAME%%.*}
|
|||||||
echo ${HOSTNAME:=OpenWrt} > /proc/sys/kernel/hostname
|
echo ${HOSTNAME:=OpenWrt} > /proc/sys/kernel/hostname
|
||||||
|
|
||||||
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
|
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
|
||||||
|
|
||||||
|
# automagically run firstboot
|
||||||
|
[ -z "$FAILSAFE" ] && {
|
||||||
|
{ mount | grep jffs2 1>&-; } || firstboot
|
||||||
|
}
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# automagically run firstboot
|
|
||||||
[ -z "$FAILSAFE" ] && {
|
|
||||||
{ mount | grep jffs2 1>&-; } || firstboot
|
|
||||||
}
|
|
||||||
# set leds to normal state
|
# set leds to normal state
|
||||||
echo "0x00" > /proc/sys/diag
|
echo "0x00" > /proc/sys/diag
|
||||||
|
Loading…
Reference in New Issue
Block a user