mirror of https://github.com/tteck/Proxmox.git
move checks to function install_script() (#1045)
This commit is contained in:
parent
0ddf5e2101
commit
36ca6fa9d2
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -363,8 +365,6 @@ msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -323,6 +323,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -342,8 +344,6 @@ apk upgrade &>/dev/null
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ pacman -Sy archlinux-keyring && pacman -Su
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -325,6 +325,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -355,8 +357,6 @@ msg_ok "Started ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -335,6 +335,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -355,8 +357,6 @@ msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -324,6 +324,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -392,8 +394,6 @@ exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -372,8 +374,6 @@ msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -323,6 +323,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -342,8 +344,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -334,6 +334,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -352,8 +354,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated ${APP} LXC"
|
msg_ok "Updated ${APP} LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -335,6 +335,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -365,8 +367,6 @@ msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -345,8 +347,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated ${APP} LXC"
|
msg_ok "Updated ${APP} LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -352,8 +354,6 @@ msg_ok "Started ESPHome"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -345,8 +347,6 @@ msg_ok "Updated ${APP}"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -425,8 +427,6 @@ msg_ok "Started ${APP}"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -329,6 +329,8 @@ function advanced_settings() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -420,8 +422,6 @@ exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -337,6 +337,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -420,8 +422,6 @@ exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -352,8 +354,6 @@ systemctl start homepage
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -365,8 +367,6 @@ msg_ok "Started ${APP}"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -337,6 +337,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -355,8 +357,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated ${APP} LXC"
|
msg_ok "Updated ${APP} LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -325,6 +325,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -344,8 +346,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -348,8 +350,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -324,6 +324,8 @@ function advanced_settings() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -345,8 +347,6 @@ msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -357,8 +359,6 @@ msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -455,8 +457,6 @@ msg_ok "Cleaned"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -349,8 +351,6 @@ msg_ok "Update Successfull"
|
||||||
|
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -381,8 +383,6 @@ exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -335,6 +335,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -345,8 +347,6 @@ function install_script() {
|
||||||
advanced_settings
|
advanced_settings
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -414,8 +416,6 @@ exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -325,6 +325,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -367,8 +369,6 @@ msg_ok "Started PhotoPrism"
|
||||||
msg_ok "Update Successful"
|
msg_ok "Update Successful"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -336,6 +336,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -365,8 +367,6 @@ bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -330,6 +330,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -397,8 +399,6 @@ exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -347,8 +349,6 @@ pacman -Sy archlinux-keyring && pacman -Su
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -335,6 +335,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -356,8 +358,6 @@ pm2 restart cron
|
||||||
msg_ok "Updated Shinobi LXC"
|
msg_ok "Updated Shinobi LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -408,8 +410,6 @@ fi
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated ${APP} LXC"
|
msg_ok "Updated ${APP} LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -365,8 +367,6 @@ msg_ok "Started ${APP}"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -331,6 +331,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -349,8 +351,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated ${APP} LXC"
|
msg_ok "Updated ${APP} LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -335,6 +335,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -353,8 +355,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated ${APP} LXC"
|
msg_ok "Updated ${APP} LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP}"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -363,8 +365,6 @@ msg_ok "Started ${APP}"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -414,8 +416,6 @@ exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -323,6 +323,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -342,8 +344,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -359,8 +361,6 @@ msg_ok "Started ${APP}"
|
||||||
msg_ok "Update Successfull"
|
msg_ok "Update Successfull"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -401,8 +403,6 @@ exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -322,6 +322,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -327,6 +327,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -392,8 +394,6 @@ start_zigbee2mqtt
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function install_script() {
|
function install_script() {
|
||||||
|
ARCH_CHECK
|
||||||
|
PVE_CHECK
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
|
@ -359,8 +361,6 @@ msg_ok "Cleaned"
|
||||||
msg_ok "Updated Successfully!\n"
|
msg_ok "Updated Successfully!\n"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
ARCH_CHECK
|
|
||||||
PVE_CHECK
|
|
||||||
header_info
|
header_info
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
Loading…
Reference in New Issue