Skip to content

Commit 4748d34

Browse files
committed
Fix pi home directory permissions to make Monkey work
1 parent afe46ab commit 4748d34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

builder/assets/init_rpi.sh

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
set -e # Exit immidiately on non-zero result
1717

18+
echo "--- Fix home directory permissions"
19+
chmod +rx /home/pi
20+
1821
NEW_SSID='clover-'$(head -c 100 /dev/urandom | xxd -ps -c 100 | sed -e "s/[^0-9]//g" | cut -c 1-4)
1922
echo "--- Creating Wi-Fi AP with SSID=${NEW_SSID}"
2023
nmcli con add type wifi ifname wlan0 mode ap con-name clover ssid $NEW_SSID autoconnect true

0 commit comments

Comments
 (0)