X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fmisc%2Facpi%2Fsuspend2ram.sh;h=6fdbd96e194300aaad82845483c4155ea6f304d4;hb=1b3f334af67c84997f7b5e6dee56faf556f0ea4b;hp=a98df77be38cb9132574541ce7260000cd04f284;hpb=1ad4e40910bd4db07722b4503cc682d9467d5f55;p=hvlinux.git 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