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:
parent
bcbad1bef1
commit
1a237fc33f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user