This commit is contained in:
2019-01-29 11:19:23 -06:00
parent a152267039
commit c1f650344c
4 changed files with 26 additions and 21 deletions

View File

@@ -1,15 +1,15 @@
#!/usr/bin/env bash
# Wrapper script for install, for easier execution via URL.
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/colors.inc)"
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/default.inc)"
source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)"
source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)"
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
else APTFUNC="${ATYPE}"
fi
echo ""
echo -e "${CS[color,LightGreen]}LinUPx Installation Script${CS[color,Default]}"
echo -e "${idsCL[LightGreen]}LinUPx Installation Script${idsCL[Default]}"
do_with_root $APTFUNC -y install wget curl git
@@ -26,9 +26,9 @@ echo -e "useAutoremove=1
opennms=false" > /opt/idssys/LinUPx/settings.conf
echo ""
echo -e "${CS[color,LightYellow]}LinUPx has been Installed${CS[color,Default]}"
echo -e "${idsCL[Yellow]}LinUPx has been Installed${idsCL[Default]}"
echo ""
echo -e "To run updates, use the command: ${CS[color,Green]}runup${CS[color,Default]}"
echo -e "To run updates, use the command: ${idsCL[Green]}runup${idsCL[Default]}"
echo ""
echo ""