1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00

Update container-restore-from-backup.sh

check for PVE
This commit is contained in:
tteckster 2022-12-17 09:41:27 -05:00 committed by GitHub
parent cd7a9c618d
commit bc3d30b416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
clear
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Run from the Proxmox Shell"; exit; fi
YW=$(echo "\033[33m")
BL=$(echo "\033[36m")
RD=$(echo "\033[01;31m")