This commit is contained in:
2025-06-26 21:30:22 -05:00
parent 1094b418a7
commit bbe2c68aac
2 changed files with 4 additions and 3 deletions

View File

@@ -12,6 +12,10 @@ set -eu
git clone https://git.schroedercity.com/voltron/NodeMgmt.git /opt/idssys/nodemgmt
ln -s /opt/idssys/nodemgmt/run.sh /usr/local/bin/nodemgmt
/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
set -eu

View File

@@ -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
cp ${NM_FOLDER}/conf/rsyslog/01-ignore-session-messages.conf /etc/rsyslog.d/
systemctl restart rsyslog
echo "COPIED OVER"
else
echo "ALREADY EXISTED"
fi
;;