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