From 1a237fc33fd68c836bc927aab846ff3efbdcabb4 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Thu, 19 Feb 2009 08:45:16 +0000 Subject: [PATCH] update xcatdsklspost for rhels5.x git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatdsklspost | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index e774ea2df..3ee01a542 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -97,10 +97,8 @@ if [ $# -eq 0 ]; then echo "updateflag.awk \$MASTER 3002 \"installstatus booted\"" >> /tmp/mypostscript fi -if [ "$OSVER" = "11" ]; then #for SLES11 - DHCP_TMP=`sed 's/\(DHCPINTERFACES=\)\(.*\)$/\1"\2"/' /tmp/mypostscript` - echo "$DHCP_TMP" > /tmp/mypostscript -fi +DHCP_TMP=`sed 's/\(DHCPINTERFACES=\)\(.*\)$/\1"\2"/' /tmp/mypostscript` +echo "$DHCP_TMP" > /tmp/mypostscript chmod +x /tmp/mypostscript if [ -x /tmp/mypostscript ];then