diff options
Diffstat (limited to 'target/linux/mediatek/base-files/lib/preinit')
-rw-r--r-- | target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface b/target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface index 8d282818c6..f39e8aee8d 100644 --- a/target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface +++ b/target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface @@ -1,5 +1,5 @@ set_preinit_iface() { - ifconfig eth0 up + ip link set eth0 up ifname=lan1 } |