summaryrefslogtreecommitdiff
path: root/target/default/target_skeleton/sbin/ifup
diff options
context:
space:
mode:
Diffstat (limited to 'target/default/target_skeleton/sbin/ifup')
-rwxr-xr-xtarget/default/target_skeleton/sbin/ifup8
1 files changed, 3 insertions, 5 deletions
diff --git a/target/default/target_skeleton/sbin/ifup b/target/default/target_skeleton/sbin/ifup
index 4236de06b6..f3230ba410 100755
--- a/target/default/target_skeleton/sbin/ifup
+++ b/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