From 5105b79f234d1ac5687cc3a9984a0ee19cedefa8 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Thu, 29 Jul 2010 11:16:03 +0000 Subject: [PATCH] for defect 3035170, "httpd" or "apache2" should be automatically started by xcatconfig, now it is fixed. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig index 61759c005..b5c9f11ba 100644 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -1710,6 +1710,8 @@ sub makenetworks { $cmd = "/etc/init.d/httpd stop; /etc/init.d/httpd start"; } + + $outref = xCAT::Utils->runcmd("$cmd", 0); if ($::RUNCMD_RC != 0) { xCAT::MsgUtils->message('E', "Could not restart httpd.");