forked from Ivasoft/openwrt
target: replace remaining occurrences of ifconfig with ip
ifconfig is effectively deprecated for quite some time now. Let's replace the remaining occurrences for our target setup by the corresponding ip commands now. Note that this does not touch ar71xx, as it will be dropped anyway, and changing it would only make backports harder. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user