[readonly/geninitrd: 443/1068] - USE_TUXONICE=$USE_SUSPEND2 if set in config

draenog draenog at pld-linux.org
Sat Nov 2 19:49:36 CET 2013


commit 7591cd37c6bfa53b2834d5c1884a8bf3a88ccc01
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Oct 12 15:07:46 2007 +0000

    - USE_TUXONICE=$USE_SUSPEND2 if set in config
    
    svn-id: @8815

 geninitrd | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index bd15c34..1d75e7b 100755
--- a/geninitrd
+++ b/geninitrd
@@ -728,6 +728,12 @@ if [ ! -x /bin/initrd-busybox ] ; then
 	die "/bin/initrd-busybox is missing!"
 fi
 
+# backwards compatible
+if [ "$USE_SUSPEND2" ] ; then
+	USE_TUXONICE=$USE_SUSPEND2
+	echo >&2 "USE_SUSPEND2 is deprecated, use USE_TUXONICE now instead."
+fi
+
 while [ $# -gt 0 ]; do
 	case $1 in
 	--fstab=*)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090



More information about the pld-cvs-commit mailing list