|
@@ -462,12 +462,12 @@ atheros_wifi() {
|
462
|
462
|
}
|
463
|
463
|
|
464
|
464
|
configure_wifi() {
|
465
|
|
- if [[ $VARIANT == "mesh" || $VARIANT == "meshclient" || $VARIANT == "meshusb" ]]; then
|
|
465
|
+ if [[ $VARIANT == "mesh"* ]]; then
|
466
|
466
|
return
|
467
|
467
|
fi
|
468
|
468
|
|
469
|
469
|
if [ -f $WIFI_NETWORKS_FILE ]; then
|
470
|
|
- chroot "$rootdir" ${PROJECT_NAME}-wifi -i $WIFI_INTERFACE --networks $WIFI_NETWORKS_FILE
|
|
470
|
+ chroot "$rootdir" ${PROJECT_NAME}-wifi --networks $WIFI_NETWORKS_FILE
|
471
|
471
|
return
|
472
|
472
|
fi
|
473
|
473
|
|
|
@@ -475,9 +475,9 @@ configure_wifi() {
|
475
|
475
|
if [ ${#WIFI_PASSPHRASE} -lt 2 ]; then
|
476
|
476
|
return
|
477
|
477
|
fi
|
478
|
|
- chroot "$rootdir" ${PROJECT_NAME}-wifi -i $WIFI_INTERFACE -s $WIFI_SSID -t $WIFI_TYPE -p $WIFI_PASSPHRASE --hotspot $WIFI_HOTSPOT
|
|
478
|
+ chroot "$rootdir" ${PROJECT_NAME}-wifi -s $WIFI_SSID -t $WIFI_TYPE -p $WIFI_PASSPHRASE --hotspot $WIFI_HOTSPOT
|
479
|
479
|
else
|
480
|
|
- chroot "$rootdir" ${PROJECT_NAME}-wifi -i $WIFI_INTERFACE -s $WIFI_SSID -t $WIFI_TYPE --hotspot $WIFI_HOTSPOT
|
|
480
|
+ chroot "$rootdir" ${PROJECT_NAME}-wifi -s $WIFI_SSID -t $WIFI_TYPE --hotspot $WIFI_HOTSPOT
|
481
|
481
|
fi
|
482
|
482
|
}
|
483
|
483
|
|