2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 11:10:24 +00:00

support syslog for sle15

This commit is contained in:
cxhong
2020-01-16 16:32:38 -05:00
parent 3456d4dd98
commit 142c6d6492

View File

@@ -329,7 +329,7 @@ if [ "$(uname -s)" = "Linux" ]; then
fi
fi
else
if ( pmatch $OSVER "sles*" ) || ( pmatch $OSVER "suse*" ) || [ -f /etc/SuSE-release ]; then
if ( pmatch $OSVER "sle*" ) || ( pmatch $OSVER "suse*" ) || [ -f /etc/SuSE-release ]; then
#find out which syslog is used for SLES, syslog or syslog-ng
result=`grep "^SYSLOG_DAEMON=" $sysconfig 2>&1`
if ( pmatch $result "*syslog-ng*" ); then