Update run.sh
This commit is contained in:
7
run.sh
7
run.sh
@@ -2,13 +2,6 @@
|
|||||||
# UbUpdate - Ubuntu Update Scripts Loader
|
# 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 -e "${idsCL[LightCyan]}Config Update, you must run the program again${idsCL[Default]}"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ ! -f /opt/idssys/settings/linupx.conf ]; then
|
if [ ! -f /opt/idssys/settings/linupx.conf ]; then
|
||||||
source /opt/idssys/linupx/settings.conf
|
source /opt/idssys/linupx/settings.conf
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user