mirror of https://github.com/hak5/openwrt.git
parent
297348b93f
commit
b9ff767448
|
@ -52,17 +52,7 @@
|
|||
${DEBUG:-eval} "udhcpc -i $if -b -p $pidfile &"
|
||||
;;
|
||||
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
|
||||
# $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
|
||||
# handled by /etc/init.d/S50pppoe
|
||||
;;
|
||||
none)
|
||||
;;
|
||||
|
|
|
@ -7,7 +7,7 @@ if [ "$1" != "failsafe" ]; then
|
|||
mtd unlock linux
|
||||
mtd erase OpenWrt
|
||||
jffs2root --move
|
||||
}
|
||||
} &
|
||||
mtd unlock rootfs
|
||||
mount -o remount,rw /dev/root /
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue