various cosmetic fixes
[oweals/openwrt.git] / openwrt / target / default / target_skeleton / sbin / ifup
index 4236de06b6cdd9c385f771c99758772bdb9fea3b..f3230ba410a5cca8b9657f3b7a0ce5cb4d7f68ac 100755 (executable)
       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