mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +00:00
Merge pull request #7146 from gurevichmark/syslog_comment
Prevent comment character removal from /etc/rsyslog.conf
This commit is contained in:
commit
c03122ebdd
@ -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" ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user