mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 23:41:53 +02:00
*** empty log message ***
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@709 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
40724cfc71
commit
c58ee1339b
@ -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)
|
# handled by /etc/init.d/S50pppoe
|
||||||
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
|
|
||||||
# $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
Block a user