Fix non-working named bug when resuming from suspend
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 30 Jul 2013 03:16:11 +0000 (23:16 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 30 Jul 2013 03:22:16 +0000 (23:22 -0400)
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