Created
April 8, 2020 18:49
-
-
Save vieskees/1fc4c065040a3b725d64287fafb8bd2d to your computer and use it in GitHub Desktop.
Start script set network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
echo "Beerfridge Start Script: [[ NETWORK ]]" | |
. /boot/bss_variables.config | |
echo "country="${COUNTRY}" | |
network={ | |
ssid=\"${SSID}\" | |
psk=\"${PASSWORD}\" | |
}" | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment