update
This commit is contained in:
@@ -12,6 +12,10 @@ set -eu
|
|||||||
git clone https://git.schroedercity.com/voltron/NodeMgmt.git /opt/idssys/nodemgmt
|
git clone https://git.schroedercity.com/voltron/NodeMgmt.git /opt/idssys/nodemgmt
|
||||||
ln -s /opt/idssys/nodemgmt/run.sh /usr/local/bin/nodemgmt
|
ln -s /opt/idssys/nodemgmt/run.sh /usr/local/bin/nodemgmt
|
||||||
/bin/chmod +x /opt/idssys/nodemgmt/*.sh
|
/bin/chmod +x /opt/idssys/nodemgmt/*.sh
|
||||||
|
if [ ! -f /etc/rsyslog.d/01-ignore-session-messages.conf ]; then
|
||||||
|
cp /opt/idssys/nodemgmt/conf/rsyslog/01-ignore-session-messages.conf /etc/rsyslog.d/
|
||||||
|
systemctl restart rsyslog
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -d "/opt/idssys/defaults" ]; then
|
if [ ! -d "/opt/idssys/defaults" ]; then
|
||||||
set -eu
|
set -eu
|
||||||
|
|||||||
@@ -1526,9 +1526,6 @@ GUI(){
|
|||||||
if [ ! -f /etc/rsyslog.d/01-ignore-session-messages.conf ] && [ -f ${NM_FOLDER}/conf/rsyslog/01-ignore-session-messages.conf ]; then
|
if [ ! -f /etc/rsyslog.d/01-ignore-session-messages.conf ] && [ -f ${NM_FOLDER}/conf/rsyslog/01-ignore-session-messages.conf ]; then
|
||||||
cp ${NM_FOLDER}/conf/rsyslog/01-ignore-session-messages.conf /etc/rsyslog.d/
|
cp ${NM_FOLDER}/conf/rsyslog/01-ignore-session-messages.conf /etc/rsyslog.d/
|
||||||
systemctl restart rsyslog
|
systemctl restart rsyslog
|
||||||
echo "COPIED OVER"
|
|
||||||
else
|
|
||||||
echo "ALREADY EXISTED"
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user