Remove installation of ncurses and file at stage0
[hvlinux.git] / stage2 / misc / acpi / suspend2ram.sh
index f3bfd6d..6fdbd96 100755 (executable)
@@ -47,13 +47,8 @@ sync
 # temporary file
 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"
 
-# suspend
 echo -n mem > /sys/power/state
 
 echo "Resuming"
@@ -62,8 +57,5 @@ echo "Resuming"
 # on resume
 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