From: <li...@us...> - 2009-10-19 18:50:10
|
Revision: 4411 http://xcat.svn.sourceforge.net/xcat/?rev=4411&view=rev Author: lissav Date: 2009-10-19 18:49:52 +0000 (Mon, 19 Oct 2009) Log Message: ----------- fix 2878702 conserver not started after reboot on AIX Modified Paths: -------------- xcat-core/trunk/xCAT-server/sbin/xcatconfig Modified: xcat-core/trunk/xCAT-server/sbin/xcatconfig =================================================================== --- xcat-core/trunk/xCAT-server/sbin/xcatconfig 2009-10-19 18:16:07 UTC (rev 4410) +++ xcat-core/trunk/xCAT-server/sbin/xcatconfig 2009-10-19 18:49:52 UTC (rev 4411) @@ -1234,8 +1234,19 @@ 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"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |