Add permissions and run configure-machine.sh without sudo (#5789)

This commit is contained in:
Aleksandr Chebotov
2022-06-22 07:46:22 +02:00
committed by GitHub
parent 02b78d07f4
commit 03d3125c20
4 changed files with 25 additions and 8 deletions

View File

@@ -87,6 +87,7 @@ EOF
sleep 10
done
echo "Getting terminal windows"
term_service=$(launchctl list | grep -i terminal | cut -f3)
echo "Close terminal windows: gui/501/${term_service}"
launchctl bootout gui/501/${term_service} && sleep 5