This commit is contained in:
David Schroeder
2026-07-26 15:37:11 -05:00
parent 4c6bd2320f
commit ffa89f9911
4 changed files with 46 additions and 1 deletions
+14 -1
View File
@@ -19,7 +19,20 @@ VIRTIO_STABLE_URL="https://fedorapeople.org/groups/virt/virtio-win/direct-downlo
PULSE_RELEASE='v6.1.1'
PULSE_PORT='7655'
TAPM_BROKER_URL='https://tapm.scity.us'
TAPM_CONFIG_FILE='/etc/ta-proxmenu/config.env'
if [[ -z "${TAPM_BROKER_URL:-}" && -r "$TAPM_CONFIG_FILE" ]]; then
TAPM_BROKER_URL="$(
sed -n 's/^[[:space:]]*TAPM_BROKER_URL[[:space:]]*=[[:space:]]*//p' \
"$TAPM_CONFIG_FILE" |
tail -n 1
)"
TAPM_BROKER_URL="${TAPM_BROKER_URL#\"}"
TAPM_BROKER_URL="${TAPM_BROKER_URL%\"}"
TAPM_BROKER_URL="${TAPM_BROKER_URL#\'}"
TAPM_BROKER_URL="${TAPM_BROKER_URL%\'}"
fi
TAPM_BROKER_URL="${TAPM_BROKER_URL:-}"
TAPM_BROKER_URL="${TAPM_BROKER_URL%/}"
S1_BROKER_PACKAGE='sentinelone-linux'
S1_PACKAGE='tapm-sentinelone.deb'