projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Resume network init in background
[hvlinux.git]
/
stage2
/
misc
/
acpi
/
suspend2ram.sh
diff --git
a/stage2/misc/acpi/suspend2ram.sh
b/stage2/misc/acpi/suspend2ram.sh
index
d342990
..
a98df77
100755
(executable)
--- a/
stage2/misc/acpi/suspend2ram.sh
+++ b/
stage2/misc/acpi/suspend2ram.sh
@@
-49,6
+49,7
@@
cat /proc/bus/pci/$ID > $TMP_FILE
# Stopping network.
# 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
if [ -f /etc/rc.d/init.d/named ]; then
/etc/rc.d/init.d/named stop
fi
@@
-66,7
+67,7
@@
echo "Resuming"
# on resume
cat $TMP_FILE > /proc/bus/pci/$ID
# on resume
cat $TMP_FILE > /proc/bus/pci/$ID
-/etc/rc.d/init.d/network start
+/etc/rc.d/init.d/network start
&
if [ -f /etc/rc.d/init.d/named ]; then
/etc/rc.d/init.d/named start
if [ -f /etc/rc.d/init.d/named ]; then
/etc/rc.d/init.d/named start