summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton/sbin/ifup
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-05-13 00:40:07 +0000
committerMike Baker <mbm@openwrt.org>2005-05-13 00:40:07 +0000
commitc51cbc4d861f7667407e3870b3d25c47328837db (patch)
treef5ac0d1104c532dc01ec04853cfdd9748ae3b85b /openwrt/target/default/target_skeleton/sbin/ifup
parent32a0072dd36257952719f4ece1a69a1f027932f1 (diff)
downloadmtk-20170518-c51cbc4d861f7667407e3870b3d25c47328837db.zip
mtk-20170518-c51cbc4d861f7667407e3870b3d25c47328837db.tar.gz
mtk-20170518-c51cbc4d861f7667407e3870b3d25c47328837db.tar.bz2
various cosmetic fixes
SVN-Revision: 864
Diffstat (limited to 'openwrt/target/default/target_skeleton/sbin/ifup')
-rwxr-xr-xopenwrt/target/default/target_skeleton/sbin/ifup8
1 files changed, 3 insertions, 5 deletions
diff --git a/openwrt/target/default/target_skeleton/sbin/ifup b/openwrt/target/default/target_skeleton/sbin/ifup
index 4236de0..f3230ba 100755
--- a/openwrt/target/default/target_skeleton/sbin/ifup
+++ b/openwrt/target/default/target_skeleton/sbin/ifup
@@ -52,12 +52,10 @@
fi
${DEBUG:-eval} "udhcpc -i $if ${ip:+-r $ip} -b -p $pidfile &"
;;
- pppoe)
- # handled by /etc/init.d/S50pppoe
- ;;
- none)
+ none|"")
+ # pppoe is handled by /etc/init.d/S50pppoe
;;
*)
- echo "### WARNING $if: $if_proto is not supported"
+ echo "### ifup $type: ignored ${type}_proto=\"$if_proto\" (not supported)"
;;
esac