When Wi-Fi used ethernet still be initialized notmally

pull/1329/head
Aleksandr Sakharov 2024-02-27 13:03:47 +03:00
parent ab86bc420f
commit b4e7cfa2c1
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ set_wireless() {
elif $path/modem "$dev"; then
ifup usb0
fi
[ -e /sys/class/net/eth0 ] && ifconfig eth0 "${net:-192.168.2.10}"
[ -e /sys/class/net/eth0 ] && ifup eth0
}
case "$1" in