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:
lissav 2013-07-09 16:41:25 +00:00
parent 465c5471a0
commit 49aad9e6bd

View File

@ -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 ) {