remove ssh check

This commit is contained in:
CanbiZ (MickLesk)
2026-02-03 14:11:38 +01:00
parent a59e631173
commit 49318cc629
2 changed files with 2 additions and 17 deletions

View File

@@ -27,7 +27,6 @@ load_functions() {
check_root
pve_check
arch_check
ssh_check
# add more
}
@@ -413,19 +412,6 @@ arch_check() {
fi
}
ssh_check() {
if command -v pveversion >/dev/null 2>&1; then
if [ -n "${SSH_CLIENT:+x}" ]; then
if whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then
echo "you've been warned"
else
clear
exit
fi
fi
fi
}
exit_script() {
clear
echo -e "\n${CROSS}${RD}User exited script${CL}\n"