From 07ffca36a11350048d0e8f4a64b4ef86509df428 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 29 Jul 2013 23:16:11 -0400 Subject: [PATCH] Fix non-working named bug when resuming from suspend --- stage2/misc/acpi/suspend2ram.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stage2/misc/acpi/suspend2ram.sh b/stage2/misc/acpi/suspend2ram.sh index af34af6..f7db74c 100755 --- a/stage2/misc/acpi/suspend2ram.sh +++ b/stage2/misc/acpi/suspend2ram.sh @@ -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 -- 2.20.1