fix 2878702 conserver not started after reboot on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8d04e4c953
commit
8550d6da24
@ -1234,8 +1234,19 @@ sub setupAIXconserver
|
||||
else
|
||||
{
|
||||
xCAT::MsgUtils->message('I', "Added subsystem conserver.");
|
||||
# add to the /etc/inittab file
|
||||
my $mkitab_cmd =
|
||||
'mkitab "conserver:2:once:/usr/bin/startsrc -s conserver" > /dev/null 2>&1';
|
||||
my $rc = system($mkitab_cmd); # may already be there no error check
|
||||
}
|
||||
} else { # conserver already a service
|
||||
# make sure it is registered in /etc/inittab file
|
||||
my $mkitab_cmd =
|
||||
'mkitab "conserver:2:once:/usr/bin/startsrc -s conserver" > /dev/null 2>&1';
|
||||
my $rc = system($mkitab_cmd); # may already be there no error check
|
||||
}
|
||||
# now make sure conserver is started
|
||||
xCAT::Utils->startService("conserver");
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user