2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 15:05:36 +00:00

Prevent comment character removal from /etc/rsyslog.conf

This commit is contained in:
Mark Gurevich
2022-04-19 14:30:32 -04:00
parent 6c00ed5b57
commit 9e7d11e221

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" ;