2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-22 05:55:35 +00:00

Merge pull request #7146 from gurevichmark/syslog_comment

Prevent comment character removal from /etc/rsyslog.conf
This commit is contained in:
besawn
2022-04-20 13:57:15 -04:00
committed by GitHub

View File

@ -273,6 +273,7 @@ config_rsyslog_V8()
[ -f "$conf_file" ] && sed -i '/#\$ModLoad \+imudp\|imtcp\|imudp.so\|imtcp.so/s/^#//;
/#\$InputTCPServerRun\|UDPServerRun.*/s/^#//' $conf_file
[ -f "$conf_file" ] && sed -i '/mtcp.html/s/^/#/' $conf_file
[ -f "/etc/rsyslog.d/xcat-cluster.conf" ] && rm -f "/etc/rsyslog.d/xcat-cluster.conf" ;
[ -f "/etc/rsyslog.d/xcat-compute.conf" ] && rm -f "/etc/rsyslog.d/xcat-compute.conf" ;