add AllStarLink Script

This commit is contained in:
Don Locke
2025-04-01 17:08:21 -06:00
parent 96548a7890
commit d050d1eaea
4 changed files with 150 additions and 0 deletions

44
ct/allstarlink.sh Normal file
View File

@@ -0,0 +1,44 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: Don Locke (DonLocke)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/AllStarLink
APP="AllStarLink"
var_tags="radio"
var_cpu="1"
var_ram="512"
var_disk="8"
var_os="debian"
var_version="12"
var_unprivileged="1"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /etc/asterisk ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
$STD apt-get update
$STD DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
msg_ok "Updated $APP LXC"
exit
}
start
build_container
description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/allmon3${CL}"

5
ct/headers/allstarlink Normal file
View File

@@ -0,0 +1,5 @@
___ ____ ____ __ __ _ __
/ | / / / ___// /_____ ______/ / (_)___ / /__
/ /| | / / /\__ \/ __/ __ `/ ___/ / / / __ \/ //_/
/ ___ |/ / /___/ / /_/ /_/ / / / /___/ / / / / ,<
/_/ |_/_/_/_____/\__/\__,_/_/ /_____/_/_/ /_/_/|_|