initial commit

This commit is contained in:
Erik Foris 2022-05-25 12:40:29 +02:00
parent e63e7367d4
commit a444c62b58

12
poweroff Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
tasks="(proxmoxbackupmanagertasklistoutputformatjson)"
if["$tasks" == '[]' ]
then
sleep 300;
tasks="(proxmoxbackupmanagertasklistoutputformatjson)";
if["$tasks" == [] ]
then
shutdown now;
fi
fi