[Pm-utils] [RFC PATCH 2/3] Split pm-functions.in out from functions.in

Victor Lowther victor.lowther at gmail.com
Mon Mar 10 16:17:34 PDT 2008


On Mon, Mar 10, 2008 at 04:08:49AM +0100, Michael Biebl wrote:
> 2008/3/6, Victor Lowther <victor.lowther at gmail.com>:
> > pm-functions.in contains the functionality that should only be used by the
> >  pm-utils frontends (pm-action, pm-is-supported, and pm-powersave).
> >
> >  functions.in contains code that is shared between the hooks and the pm-utils
> >  frontends.
> >
> 
> >  -HIBERNATE_MODE="platform"
> >  -HIBERNATE_RESUME_POST_VIDEO=no
> >  -INHIBIT="${PM_UTILS_RUNDIR}/inhibit"
> >  -PM_LOGFILE="${PM_LOGFILE:=/var/log/pm-suspend.log}"
> >  -SUSPEND_MODULES=""
> >  -TEMPORARY_CPUFREQ_GOVERNOR="performance"
> 
> Hm, I think we require those variables in the hooks.

We do.  They are exported in pm-functions.in.  Since they are exported,
no point in redeclaring and re-exporting them in a subshell.
 
> Michael
> 
> -- 
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?

-- 
Victor Lowther
Ubuntu Certified Professional


More information about the Pm-utils mailing list