From a957e480a0c8218f7f0e777392ec733e79b3cb95 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 25 Nov 2014 20:45:00 -0500 Subject: [PATCH] Do not deactivate network when suspending to ram --- stage2/misc/acpi/suspend2ram.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/stage2/misc/acpi/suspend2ram.sh b/stage2/misc/acpi/suspend2ram.sh index a98df77..6fdbd96 100755 --- a/stage2/misc/acpi/suspend2ram.sh +++ b/stage2/misc/acpi/suspend2ram.sh @@ -47,18 +47,8 @@ sync # temporary file cat /proc/bus/pci/$ID > $TMP_FILE -# Stopping network. - -# Check if NFS server functionality is desired -if [ -f /etc/rc.d/init.d/named ]; then - /etc/rc.d/init.d/named stop -fi - -/etc/rc.d/init.d/network stop - echo "Entering suspend mode" -# suspend echo -n mem > /sys/power/state echo "Resuming" @@ -67,11 +57,5 @@ echo "Resuming" # on resume cat $TMP_FILE > /proc/bus/pci/$ID -/etc/rc.d/init.d/network start & - -if [ -f /etc/rc.d/init.d/named ]; then - /etc/rc.d/init.d/named start -fi - # remove temporary file rm -f $TMP_FILE -- 2.20.1