Created
April 26, 2019 14:26
-
-
Save cozzbie/ac92157887643c56af59d8c5a1e53671 to your computer and use it in GitHub Desktop.
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
# recovery.cmdline | |
silentinstall | |
# /os/Raspbian/partition_setup.sh | |
# Enable SSH | |
echo 'ssh' >/tmp/1/ssh | |
# Configure WiFi | |
echo 'ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev' >> /tmp/1/wpa_supplicant.conf | |
echo 'update_config=1' >> /tmp/1/wpa_supplicant.conf | |
echo 'country=<TWO_LETTER_ISO_COUNTRY_CODE>' >> /tmp/1/wpa_supplicant.conf | |
echo '' >> /tmp/1/wpa_supplicant.conf | |
echo 'network={' >> /tmp/1/wpa_supplicant.conf | |
echo ' ssid="<WIFI_NETWORK_NAME>"' >> /tmp/1/wpa_supplicant.conf | |
echo ' psk="<WIFI_PASSWORD>"' >> /tmp/1/wpa_supplicant.conf | |
echo ' key_mgmt=WPA-PSK' >> /tmp/1/wpa_supplicant.conf | |
echo '}' >> /tmp/1/wpa_supplicant.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment