Update run.sh
This commit is contained in:
8
run.sh
8
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
|
||||
|
||||
Reference in New Issue
Block a user