diff options
Diffstat (limited to 'openwrt')
-rwxr-xr-x | openwrt/target/default/target_skeleton/sbin/ifup | 12 | ||||
-rwxr-xr-x | openwrt/target/default/target_skeleton/sbin/mount_root | 2 |
2 files changed, 2 insertions, 12 deletions
diff --git a/openwrt/target/default/target_skeleton/sbin/ifup b/openwrt/target/default/target_skeleton/sbin/ifup index f8e41ce8c..72efa6901 100755 --- a/openwrt/target/default/target_skeleton/sbin/ifup +++ b/openwrt/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/openwrt/target/default/target_skeleton/sbin/mount_root b/openwrt/target/default/target_skeleton/sbin/mount_root index 06d8b8563..409fe38fd 100755 --- a/openwrt/target/default/target_skeleton/sbin/mount_root +++ b/openwrt/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 |