mirror of https://github.com/hak5/openwrt-owl.git
parent
297348b93f
commit
b9ff767448
|
@ -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