This commit is contained in:
tteckster 2023-02-11 22:44:10 -05:00 committed by GitHub
parent 03ff3750bf
commit 6293f5f29a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
82 changed files with 82 additions and 749 deletions

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
exit
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/alpine-release ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/pacman.d ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /root/.config/autobrr ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/blocky/ ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/docker ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/changedetection.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,26 +83,6 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} Master LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
SERVER="y"
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} SUPPORT" --yesno "Options to Update or Install ${APP} Worker on $hostname. Proceed?" 10 58); then
echo "User selected Support"
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
function default_settings() {
echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
CT_TYPE="1"
@ -327,6 +307,7 @@ function install_script() {
ARCH_CHECK
PVE_CHECK
header_info
SERVER="y"
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
header_info
echo -e "${BL}Using Default Settings${CL}"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/daemonsync ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/dashy.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/deconz.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -81,15 +81,7 @@ function ARCH_CHECK() {
exit
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/docker ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/emby-server ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/emqx_emqx.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /usr/local/bin/esphome ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/grafana.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apache2/sites-available/grocy.conf ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/Heimdall ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
exit
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /srv/homeassistant ]]; then
msg_error "No Home Assistant Core Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /root/hass_config ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/emqx_emqx.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/homepage.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/influxdb.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/iobroker ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /usr/lib/jellyfin ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/k0s/k0s.yaml ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/Kavita ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/keycloak.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/magicmirror ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/mariadb.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/meshcentral ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/motioneye.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -80,15 +80,7 @@ function ARCH_CHECK() {
exit
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/n8n.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/navidrome ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /lib/systemd/system/nextcloud-domain.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /lib/systemd/system/npm.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/nocodb.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /root/.node-red ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/tplink ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/openmediavault.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/openhab.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/paperless ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/photoprism ]]; then
msg_error "No PhotoPrism Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/pihole ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/plexmediaserver.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -86,15 +86,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/homeassistant.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/containers/registries.conf ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/prometheus.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/pacman.d ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/scrypted.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/Shinobi ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/dns ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/trilium/ ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /root/umbrel ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /usr/lib/unifi ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/uptime-kuma ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -81,15 +81,7 @@ function ARCH_CHECK() {
exit
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/systemd/system/vaultwarden.service ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /usr/local/bin/whoogle-search ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/wikijs ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/pivpn/wireguard ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
echo "User selected Update"

View File

@ -83,15 +83,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/zigbee2mqtt ]]; then
msg_error "No ${APP} Installation Found!";

View File

@ -82,15 +82,7 @@ function ARCH_CHECK() {
fi
}
if command -v pveversion >/dev/null 2>&1; then
if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
NEXTID=$(pvesh get /cluster/nextid)
else
clear
echo -e "⚠ User exited script \n"
exit
fi
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/zwave-js-ui ]]; then
msg_error "No ${APP} Installation Found!";