Update install-linupx.sh

This commit is contained in:
2019-01-28 11:27:43 -06:00
parent aeb5b6012b
commit 2eca1b060e

View File

@@ -16,14 +16,14 @@ do_with_root $APTFUNC -y install wget curl git
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
echo -e "useAutoremove=1
opennms=false" > /opt/idssys/LinUPx/settings.conf
if [ ! -d "/opt/idssys/defaults" ]; then
do_with_root set -eu
do_with_root git clone gogs@git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults
fi
echo -e "useAutoremove=1
opennms=false" > /opt/idssys/LinUPx/settings.conf
echo ""
echo -e "${CS[color,LightYellow]}LinUPx has been Installed${CS[color,Default]}"