mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-19 15:05:12 +01:00
parent
776355717c
commit
fb29bd369a
@ -15,6 +15,7 @@ preinit_ip() {
|
|||||||
fi
|
fi
|
||||||
pi_ifname=$ifname
|
pi_ifname=$ifname
|
||||||
}
|
}
|
||||||
|
fi
|
||||||
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
|
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
|
||||||
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
|
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user