revert revert ssh_check

This commit is contained in:
tteckster 2023-03-27 21:21:14 -04:00 committed by GitHub
parent 8bf03a6cb6
commit b19b5e1039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
92 changed files with 93 additions and 1 deletions

View File

@ -78,6 +78,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -81,6 +81,7 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -75,6 +75,7 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -88,6 +88,7 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -81,6 +81,7 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -79,6 +79,7 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -75,6 +75,7 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -63,6 +63,7 @@ exit;
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -71,6 +71,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -100,6 +100,7 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -86,6 +86,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -71,6 +71,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -68,6 +68,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -140,6 +140,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -207,6 +207,7 @@ EOF
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -128,6 +128,7 @@ WantedBy=default.target" >$service_path
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -67,6 +67,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -84,6 +84,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -63,6 +63,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -71,6 +71,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -171,6 +171,7 @@ EOF
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -63,6 +63,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -96,6 +96,7 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -132,6 +132,7 @@ EOF
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -86,6 +86,7 @@ function update_script() {
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -71,6 +71,7 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -111,6 +111,7 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -66,6 +66,7 @@ msg_ok "Updated $APP"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -64,6 +64,7 @@ msg_ok "Updated Shinobi LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -70,6 +70,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -80,6 +80,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -78,6 +78,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -131,6 +131,7 @@ function update_script() {
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -83,6 +83,7 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -115,6 +115,7 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -126,6 +126,7 @@ function update_script() {
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -78,6 +78,7 @@ function update_script() {
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -97,7 +97,7 @@ function ARCH_CHECK() {
} }
function SSH_CHECK() { function SSH_CHECK() {
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then
if [ -n "$SSH_CLIENT" ]; then if [ -n "${SSH_CLIENT:+x}" ]; then
if whiptail --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 if whiptail --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" echo "you've been warned"
else else
@ -269,6 +269,7 @@ function START_SCRIPT() {
} }
ARCH_CHECK ARCH_CHECK
PVE_CHECK PVE_CHECK
SSH_CHECK
START_SCRIPT START_SCRIPT
msg_info "Validating Storage" msg_info "Validating Storage"
while read -r line; do while read -r line; do