summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/sbin/ifup
diff options
context:
space:
mode:
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