summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-04-24 05:24:03 +0000
committerMike Baker <mbm@openwrt.org>2005-04-24 05:24:03 +0000
commitb9ff7674483aa5f32b3d91dd20b3ac2a4d9afe53 (patch)
treef0e2b741e23693b6b8aa9adc03086168c21d5e1f /openwrt/target/default/target_skeleton
parent297348b93ffa05a26286cac14b17bfd6b90ea5d9 (diff)
downloadmtk-20170518-b9ff7674483aa5f32b3d91dd20b3ac2a4d9afe53.zip
mtk-20170518-b9ff7674483aa5f32b3d91dd20b3ac2a4d9afe53.tar.gz
mtk-20170518-b9ff7674483aa5f32b3d91dd20b3ac2a4d9afe53.tar.bz2
*** empty log message ***
SVN-Revision: 709
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-rwxr-xr-xopenwrt/target/default/target_skeleton/sbin/ifup12
-rwxr-xr-xopenwrt/target/default/target_skeleton/sbin/mount_root2
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 f8e41ce..72efa69 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 06d8b85..409fe38 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