Add unsupported to lldap

This commit is contained in:
Sam Heinz
2024-10-21 13:55:40 +10:00
parent f9f4a53a74
commit 007c4cab49
2 changed files with 69 additions and 67 deletions
+68 -66
View File
@@ -1,73 +1,75 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # # Author: tteck (tteckster)
# Co-Author: remz1337 # # Co-Author: remz1337
# License: MIT # # License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE # # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { echo "Unsupported."
clear
cat <<"EOF"
____ __
/ / /___/ /___ _____
/ / / __ / __ `/ __ \
/ / / /_/ / /_/ / /_/ /
/_/_/\__,_/\__,_/ .___/
/_/
EOF # function header_info {
} # clear
header_info # cat <<"EOF"
echo -e "Loading..." # ____ __
APP="lldap" # / / /___/ /___ _____
var_disk="4" # / / / __ / __ `/ __ \
var_cpu="1" # / / / /_/ / /_/ / /_/ /
var_ram="512" # /_/_/\__,_/\__,_/ .___/
var_os="debian" # /_/
var_version="12"
variables
color
catch_errors
function default_settings() { # EOF
CT_TYPE="1" # }
PW="" # header_info
CT_ID=$NEXTID # echo -e "Loading..."
HN=$NSAPP # APP="lldap"
DISK_SIZE="$var_disk" # var_disk="4"
CORE_COUNT="$var_cpu" # var_cpu="1"
RAM_SIZE="$var_ram" # var_ram="512"
BRG="vmbr0" # var_os="debian"
NET="dhcp" # var_version="12"
GATE="" # variables
APT_CACHER="" # color
APT_CACHER_IP="" # catch_errors
DISABLEIP6="no"
MTU=""
SD=""
NS=""
MAC=""
VLAN=""
SSH="no"
VERB="no"
echo_default
}
function update_script() { # function default_settings() {
header_info # CT_TYPE="1"
if [[ ! -f /etc/systemd/system/lldap.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi # PW=""
msg_info "Updating $APP" # CT_ID=$NEXTID
apt update # HN=$NSAPP
apt upgrade -y lldap # DISK_SIZE="$var_disk"
msg_ok "Updated $APP" # CORE_COUNT="$var_cpu"
exit # RAM_SIZE="$var_ram"
} # BRG="vmbr0"
# NET="dhcp"
# GATE=""
# APT_CACHER=""
# APT_CACHER_IP=""
# DISABLEIP6="no"
# MTU=""
# SD=""
# NS=""
# MAC=""
# VLAN=""
# SSH="no"
# VERB="no"
# echo_default
# }
start # function update_script() {
build_container # header_info
description # if [[ ! -f /etc/systemd/system/lldap.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
# msg_info "Updating $APP"
# apt update
# apt upgrade -y lldap
# msg_ok "Updated $APP"
# exit
# }
msg_ok "Completed Successfully!\n" # start
echo -e "${APP} should be reachable by going to the following URL. # build_container
${BL}http://${IP}:17170${CL} \n" # description
# msg_ok "Completed Successfully!\n"
# echo -e "${APP} should be reachable by going to the following URL.
# ${BL}http://${IP}:17170${CL} \n"
+1 -1
View File
@@ -1,4 +1,4 @@
# #!/usr/bin/env bash #!/usr/bin/env bash
# source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) # source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
# # Copyright (c) 2021-2024 tteck # # Copyright (c) 2021-2024 tteck
# # Author: tteck (tteckster) # # Author: tteck (tteckster)