Update S40network, autostart of modem interfaces ()

pull/1249/head
Signor Pellegrino 2024-01-10 15:53:50 +03:00 committed by GitHub
parent 95334102c6
commit d25af4728a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
general/overlay/etc/init.d

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