[Pm-utils] [PATCH] trivial RESUME_MODULES zeroing fix

Stefan Seyfried seife at suse.de
Mon Oct 30 13:00:52 PST 2006


Hi,

RESUME_MODULES was emptied at the beginning of pm/functions.
hooks/50modules however sources this file at the start, so it never
got the module list to reload. Fix is trivial:

Index: pm/functions
===================================================================
RCS file: /cvs/pm-utils/pm-utils/pm/functions,v
retrieving revision 1.26
diff -u -p -r1.26 functions
--- pm/functions	30 Oct 2006 15:40:42 -0000	1.26
+++ pm/functions	30 Oct 2006 20:54:24 -0000
@@ -5,7 +5,6 @@ export PATH=/sbin:/usr/sbin:/bin:/usr/bi
 # default values go here
 HIBERNATE_RESUME_POST_VIDEO=no
 SUSPEND_MODULES=""
-RESUME_MODULES=""
 PM_LOGFILE=${PM_LOGFILE:=/var/log/pm-suspend.log}
 
 [ -f /etc/pm/config ] && . /etc/pm/config
-- 
Stefan Seyfried
QA / R&D Team Mobile Devices        |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg  | "Well, surrounding them's out." 


More information about the Pm-utils mailing list