Explorar o código

Update hacore2hacore-data.sh

check PVE
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
daa9b78019
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      misc/hacore2hacore-data.sh

+ 1 - 0
misc/hacore2hacore-data.sh

@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
 clear
+if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠️  Run from the Proxmox Shell"; exit; fi
 while true; do
   read -p "Use to copy all data from a Home Assistant Core LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn
   case $yn in