Update install-linupx.sh

This commit is contained in:
2025-12-21 15:55:59 -06:00
parent f1cca3b3f3
commit 8293f5c277

View File

@@ -19,7 +19,11 @@ do_with_root $APTFUNC -y install wget curl git jq grepcidr
do_with_root set -eu
do_with_root git clone https://git.schroedercity.com/voltron/LinUPx.git /opt/idssys/linupx
do_with_root ln -s /opt/idssys/linupx/run.sh /usr/local/bin/runup
if [ -d /usr/local/bin/ ]; then
do_with_root ln -s /opt/idssys/linupx/run.sh /usr/local/bin/runup
elif [ -d /usr/bin/ ]; then
do_with_root ln -s /opt/idssys/linupx/run.sh /usr/bin/runup
fi
if [ ! -d "/opt/idssys/defaults" ]; then
do_with_root set -eu