mirror of
https://github.com/caperren/school_archives.git
synced 2025-11-09 13:41:13 +00:00
Added applied robotics code to archive.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
VBoxManage controlvm Windows acpipowerbutton
|
||||
|
||||
echo "Waiting for Windows to poweroff..."
|
||||
|
||||
until $(VBoxManage showvminfo --machinereadable Windows | grep -q ^VMState=.poweroff.)
|
||||
do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
sudo poweroff
|
||||
Reference in New Issue
Block a user