Fix non-working named bug when resuming from suspend
[hvlinux.git] / stage2 / misc / acpi / suspend2ram.sh
index af34af6..f7db74c 100755 (executable)
@@ -22,6 +22,7 @@ sync
 cat /proc/bus/pci/$ID > $TMP_FILE
 
 # Stopping network.
+/etc/rc.d/init.d/named stop
 /etc/rc.d/init.d/network stop
 
 echo "Entering suspend mode"
@@ -36,6 +37,7 @@ echo "Resuming"
 cat $TMP_FILE > /proc/bus/pci/$ID
 
 /etc/rc.d/init.d/network start
+/etc/rc.d/init.d/named start
 
 # remove temporary file
 rm -f $TMP_FILE