cpu-fix #21

Merged
Mic92 merged 4 commits from cpu-fix into main 2023-07-20 07:20:04 +00:00
Showing only changes of commit dfdd854564 - Show all commits

12
targets/web01/reboot.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
HOST=clan.lol
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
ssh "root@$HOST" reboot
# wait till shutdown
while ping -4 -W 1 -c 1 "$HOST"; do
sleep 1
done
"$SCRIPT_DIR/decrypt.sh"