From af1638ce7d6eb3b77af5012c12f7115a66cfca95 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Thu, 11 Jul 2013 06:44:52 +0000 Subject: [PATCH] two changes: 1. run mount -a anyway to make sure the osimage has been mounted from MN; 2. set the STDIN/STDOUT/STDERR to /dev/null so that mpss start can daemonized cleanly git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/configmic | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/xCAT-server/sbin/configmic b/xCAT-server/sbin/configmic index ad8cfdce0..fdcba748c 100755 --- a/xCAT-server/sbin/configmic +++ b/xCAT-server/sbin/configmic @@ -119,6 +119,10 @@ if ($rc) { runsyscmd ($cmd); $cmd = "mount -a"; runsyscmd ($cmd); +} else { + # run mount -a anyway + $cmd = "mount -a"; + runsyscmd ($cmd); } # make sure the remote files are accessable @@ -273,7 +277,7 @@ foreach my $micid (keys %miccfg) { } # start the mpss service after the configuration -$cmd = "service mpss start >/dev/null 2>&1"; +$cmd = "service mpss start >/dev/null 2>&1