[readonly/geninitrd/devel: 228/334] Softsuspend fixes, still disabled by default.

draenog draenog at pld-linux.org
Sat Nov 2 19:30:42 CET 2013


commit 4d2703356b0c35f86630b43cccd67c650e1e391c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jul 31 09:36:30 2004 +0000

    Softsuspend fixes, still disabled by default.
    
    svn-id: @4412

 geninitrd | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 5341938..2ad6983 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1016,9 +1016,8 @@ if is_yes "$USESUSPEND"; then
 	echo "mount -t proc none /proc" >> "$s"
 	echo "cmdline=\`cat /proc/cmdline\`" >> "$s"
 	echo "if [ \"$cmdline\" != \"${cmdline#* resume2=}\" ]; then" >> "$s"
-	echo "	mount -t proc none /proc" >> "$s"
-	echo "	umount /proc" >> "$s"
 	echo "	echo > /proc/software_suspend/activate" >> "$s"
+	echo "  umount /proc" >> "$s"
 	echo "	exit 0" >> "$s"
 	echo "fi" >> "$s"
 	echo "umount /proc" >> "$s"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11



More information about the pld-cvs-commit mailing list