projects
/
hvlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3981e76
)
Fix non-working named bug when resuming from suspend
author
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 30 Jul 2013 03:16:11 +0000
(23:16 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 30 Jul 2013 03:22:16 +0000
(23:22 -0400)
stage2/misc/acpi/suspend2ram.sh
patch
|
blob
|
history
diff --git
a/stage2/misc/acpi/suspend2ram.sh
b/stage2/misc/acpi/suspend2ram.sh
index
af34af6
..
f7db74c
100755
(executable)
--- 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