We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afe46ab commit 4748d34Copy full SHA for 4748d34
builder/assets/init_rpi.sh
@@ -15,6 +15,9 @@
15
16
set -e # Exit immidiately on non-zero result
17
18
+echo "--- Fix home directory permissions"
19
+chmod +rx /home/pi
20
+
21
NEW_SSID='clover-'$(head -c 100 /dev/urandom | xxd -ps -c 100 | sed -e "s/[^0-9]//g" | cut -c 1-4)
22
echo "--- Creating Wi-Fi AP with SSID=${NEW_SSID}"
23
nmcli con add type wifi ifname wlan0 mode ap con-name clover ssid $NEW_SSID autoconnect true
0 commit comments