From ec4bec2e1c4357ffc076dc8fef16756ed553edc3 Mon Sep 17 00:00:00 2001 From: linggao Date: Wed, 9 Jun 2010 19:21:09 +0000 Subject: [PATCH] bug fix in otherpkgs git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/otherpkgs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index bdfa52292..6e6b43975 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -69,8 +69,9 @@ logger -t xcat "NFSSERVER=$NFSSERVER" echo OTHERPKGDIR=$OTHERPKGDIR logger -t xcat "OTHERPKGDIR=$OTHERPKGDIR" -dhcpcd -n $PRIMARYNIC - +if [ -x "/sbin/dhcpcd" ]; then + dhcpcd -n $PRIMARYNIC +fi #check if the node has yum or zypper installed, it will try yum first, then zypper and last rpm hasyum=0