Hotspot setup for bbb wireless
This commit is contained in:
parent
a6c6841a13
commit
745ee6019e
|
@ -552,6 +552,17 @@ if [[ $VARIANT == 'usb' ]]; then
|
||||||
IMAGE_NAME=$'usb'
|
IMAGE_NAME=$'usb'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $VARIANT == 'beaglebonewifi' ]]; then
|
||||||
|
if [ ! $WIFI_SSID ]; then
|
||||||
|
WIFI_SSID=${PROJECT_NAME}
|
||||||
|
fi
|
||||||
|
if [ ! "$WIFI_PASSPHRASE" ]; then
|
||||||
|
WIFI_PASSPHRASE=${PROJECT_NAME}
|
||||||
|
fi
|
||||||
|
WIFI_TYPE='wpa2-psk'
|
||||||
|
WIFI_HOTSPOT='yes'
|
||||||
|
fi
|
||||||
|
|
||||||
# append amnesic to the image name if needed
|
# append amnesic to the image name if needed
|
||||||
if [[ $AMNESIC != 'no' ]]; then
|
if [[ $AMNESIC != 'no' ]]; then
|
||||||
IMAGE_NAME="${IMAGE_NAME}-amnesic"
|
IMAGE_NAME="${IMAGE_NAME}-amnesic"
|
||||||
|
|
Loading…
Reference in New Issue