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
This commit is contained in:
mxi1 2009-02-19 08:45:16 +00:00
parent bcbad1bef1
commit 1a237fc33f

View File

@ -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