diff --git a/target/default/target_skeleton/sbin/ifup b/target/default/target_skeleton/sbin/ifup index f8e41ce8ce..72efa69012 100755 --- a/target/default/target_skeleton/sbin/ifup +++ b/target/default/target_skeleton/sbin/ifup @@ -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) ;; diff --git a/target/default/target_skeleton/sbin/mount_root b/target/default/target_skeleton/sbin/mount_root index 06d8b85631..409fe38fdd 100755 --- a/target/default/target_skeleton/sbin/mount_root +++ b/target/default/target_skeleton/sbin/mount_root @@ -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