empty it instead of rm it

This commit is contained in:
anthony 2010-10-15 15:04:17 -07:00
parent 13c982319f
commit b66203ebca

View File

@ -26,7 +26,7 @@ sed -i 's/127\.0\.0\.1/0\.0\.0\.0/' /opt/xensource/libexec/qemu-dm-wrapper 2>&1
# disable the default link local on xenserver
sed -i /NOZEROCONF/d /etc/sysconfig/network
echo "NOZEROCONF=yes" >> /etc/sysconfig/network
rm /opt/xensource/bin/heartbeat
>/opt/xensource/bin/heartbeat
echo "success"