target: replace remaining occurrences of ifconfig with ip
[openwrt/staging/rmilecki.git] / target / linux / ramips / mt7621 / base-files / lib / preinit / 07_mt7621_bringup_dsa_master
index 9a0da1716d7b77a34ab23671858199a21272099d..0f4660d242b5bbf1c559518e51f7699029ce6d36 100644 (file)
@@ -14,7 +14,7 @@ mt7621_bringup_dsa_master() {
         ;;
     esac
 
-    ifconfig $masterif up
+    ip link set $masterif up
 }
 
 boot_hook_add preinit_main mt7621_bringup_dsa_master
\ No newline at end of file