diff --git a/run.sh b/run.sh index 6946023..6288e7e 100755 --- a/run.sh +++ b/run.sh @@ -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