[Pm-utils] [RFC PATCH 2/3] Split pm-functions.in out from functions.in
Michael Biebl
mbiebl at gmail.com
Mon Mar 10 17:34:50 PDT 2008
2008/3/11, Victor Lowther <victor.lowther at gmail.com>:
> 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.
Ah, right. Missed the set -a
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
More information about the Pm-utils
mailing list