From 745ee6019e11deb8bbe727a8ed621a8095efcf1c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 17 Jul 2017 14:17:13 +0100 Subject: [PATCH] Hotspot setup for bbb wireless --- src/freedombone-image | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/freedombone-image b/src/freedombone-image index c6dc8a6f..120b710f 100755 --- a/src/freedombone-image +++ b/src/freedombone-image @@ -552,6 +552,17 @@ if [[ $VARIANT == 'usb' ]]; then IMAGE_NAME=$'usb' 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 if [[ $AMNESIC != 'no' ]]; then IMAGE_NAME="${IMAGE_NAME}-amnesic"