Update S40network, autostart of modem interfaces

Unfortunately, I discovered that the autostart of modems stopped working. 
This add-on includes modems, everything is fine now.
pull/1248/head
Signor Pellegrino 2024-01-10 15:53:21 +03:00 committed by GitHub
parent 95334102c6
commit e68ada45ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ set_wireless() {
path=/etc/wireless
if $path/usb "$dev" || $path/modem "$dev" || $path/sdio "$dev"; then
[ -n "$mac" ] && ip link set dev wlan0 address "$mac"
ifup usb0
ifup wlan0
ifconfig eth0 192.168.192.10
fi