*** empty log message ***
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@709 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
73f232bd47
commit
fc7d7da2e0
|
@ -52,17 +52,7 @@
|
||||||
${DEBUG:-eval} "udhcpc -i $if -b -p $pidfile &"
|
${DEBUG:-eval} "udhcpc -i $if -b -p $pidfile &"
|
||||||
;;
|
;;
|
||||||
pppoe)
|
pppoe)
|
||||||
username=$(nvram get ppp_username)
|
|
||||||
password=$(nvram get ppp_passwd)
|
|
||||||
redial=$(nvram get ppp_redialperiod)
|
|
||||||
idletime=$(nvram get ppp_idletime)
|
|
||||||
mtu=$(nvram get wan_mtu)
|
|
||||||
|
|
||||||
# handled by /etc/init.d/S50pppoe
|
# handled by /etc/init.d/S50pppoe
|
||||||
# $DEBUG ifconfig $if 0.0.0.0 up
|
|
||||||
|
|
||||||
# $DEBUG /sbin/pppoecd $if -u $username -p $password \
|
|
||||||
# -i 0 -I $redial -T $idletime -t $mtu -k
|
|
||||||
;;
|
;;
|
||||||
none)
|
none)
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -7,7 +7,7 @@ if [ "$1" != "failsafe" ]; then
|
||||||
mtd unlock linux
|
mtd unlock linux
|
||||||
mtd erase OpenWrt
|
mtd erase OpenWrt
|
||||||
jffs2root --move
|
jffs2root --move
|
||||||
}
|
} &
|
||||||
mtd unlock rootfs
|
mtd unlock rootfs
|
||||||
mount -o remount,rw /dev/root /
|
mount -o remount,rw /dev/root /
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue