summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/sbin/ifup
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-13 00:40:07 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-13 00:40:07 +0000
commit64f9c0990a8c293729da9fe2b298cf6a5cca0680 (patch)
treef5ac0d1104c532dc01ec04853cfdd9748ae3b85b /openwrt/target/default/target_skeleton/sbin/ifup
parent9ecebf87927ac860a3f2c59467796e5ae85803cb (diff)
various cosmetic fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@864 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 4236de06b..f3230ba41 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