mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 20:30:56 +00:00
fix 3668 Ubuntu also
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -125,7 +125,7 @@ unless ($pidfile) {
|
||||
#start syslog if it is not up
|
||||
if (xCAT::Utils->isLinux()) {
|
||||
my $init_file="/etc/init.d/syslog";
|
||||
if ((-f "/etc/fedora-release") || (-f "/etc/redhat-release")){
|
||||
if ((-f "/etc/fedora-release") || (-f "/etc/redhat-release") || (-f "/etc/lsb-release")){
|
||||
$init_file="/etc/init.d/rsyslog";
|
||||
}
|
||||
if ( -x $init_file ) {
|
||||
|
Reference in New Issue
Block a user