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:
@@ -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
|
||||
|
Reference in New Issue
Block a user