diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-30 17:25:20 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-03 10:42:04 +0200 |
commit | 356866c481cf74e87b9025ebbfdef0995674dca3 (patch) | |
tree | af8580f8840b8816ef8382db4adb31a6205b1ae7 /target/linux/ramips/mt7621 | |
parent | 1d9542c50e2c263256446170ffbd29d0e15bb96d (diff) | |
download | upstream-356866c481cf74e87b9025ebbfdef0995674dca3.tar.gz upstream-356866c481cf74e87b9025ebbfdef0995674dca3.tar.bz2 upstream-356866c481cf74e87b9025ebbfdef0995674dca3.zip |
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>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master b/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master index 9a0da1716d..0f4660d242 100644 --- a/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master +++ b/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master @@ -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 |