mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
Fix pi home directory permissions to make Monkey work
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
|
||||
set -e # Exit immidiately on non-zero result
|
||||
|
||||
echo "--- Fix home directory permissions"
|
||||
chmod +rx /home/pi
|
||||
|
||||
NEW_SSID='clover-'$(head -c 100 /dev/urandom | xxd -ps -c 100 | sed -e "s/[^0-9]//g" | cut -c 1-4)
|
||||
echo "--- Creating Wi-Fi AP with SSID=${NEW_SSID}"
|
||||
nmcli con add type wifi ifname wlan0 mode ap con-name clover ssid $NEW_SSID autoconnect true
|
||||
|
||||
Reference in New Issue
Block a user