geninitrd/trunk/geninitrd
arekm
cvs at pld-linux.org
Sun Apr 9 21:08:16 CEST 2006
Author: arekm
Date: Sun Apr 9 21:08:12 2006
New Revision: 7339
Modified:
geninitrd/trunk/geninitrd
Log:
Correct suspend variables.
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Sun Apr 9 21:08:12 2006
@@ -20,8 +20,8 @@
USERAIDSTART="yes"
USEMDADMSTATIC="no"
USEINSMODSTATIC="no"
-USESUSPEND="no"
-USESUSPEND2="no"
+USE_SUSPEND="no"
+USE_SUSPEND2="no"
uselvm="no"
usenfs="no"
# it should be safe to remove scsi_mod from here, but I'm not sure...
@@ -714,10 +714,10 @@
BOOT_SPLASH="no"
;;
--with-suspend)
- USESUSPEND="yes";
+ USE_SUSPEND="yes";
;;
--with-suspend2)
- USESUSPEND2="yes";
+ USE_SUSPEND2="yes";
;;
--lvmtoolsversion=|--lvmversion=)
LVMTOOLSVERSION="`echo $1 | awk -F= '{print $2;}'`"
@@ -892,8 +892,8 @@
exit 1
fi
-if is_yes "$USESUSPEND"; then
- if is_yes "$USESUSPEND2"; then
+if is_yes "$USE_SUSPEND"; then
+ if is_yes "$USE_SUSPEND2"; then
echo "Suspend2 shouldn't be used in parallel with mainline suspend!." 1>&2
exit 1
fi
@@ -1291,11 +1291,11 @@
initrd_gen_udev
fi
-if is_yes "$USESUSPEND"; then
+if is_yes "$USE_SUSPEND"; then
initrd_gen_suspend
fi
-if is_yes "$USESUSPEND2"; then
+if is_yes "$USE_SUSPEND2"; then
initrd_gen_suspend2
fi
More information about the pld-cvs-commit
mailing list