Update run.sh

This commit is contained in:
2020-03-08 21:34:27 -05:00
parent 6db420a07a
commit aedc825095

8
run.sh
View File

@@ -1,6 +1,14 @@
#!/usr/bin/env bash
# UbUpdate - Ubuntu Update Scripts Loader
if ! grep -q "RemoteSyslogServer" /opt/idssys/linupx/settings.conf; then
echo -e "\nRemoteSyslogServer=10.10.10.10" >> /opt/idssys/linupx/settings.conf
echo -en "${idsCL[LightCyan]}Config Update, you must run the program again${idsCL[Default]}"
exit 0
fi
if [ ! -f /opt/idssys/settings/linupx.conf ]; then
source /opt/idssys/linupx/settings.conf
else