[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/power/pwrctl-local vs anacron



On Sat, 2001-12-29 at 15:37, Michael Schmitz wrote:
> > > wakeup)
> > >     /sbin/fblevel on
> > >     /sbin/trackpad notap
> > >     /usr/sbin/anacron
> > >     /usr/X11R6/bin/xrefresh
> > >     ;;
> > >
> > > any idea why the last two don't do anything?
> >
> > I've been wondering about anacron myself; it used to work at some point.
> > I notice messages like this in the syslog:
> >
> > Dec 28 12:26:25 pismo anacron[11636]: Can't close stdin: Bad file
> > descriptor
> 
> Since pmud 0.10 the file descriptors opened by pmud are no longer
> inherited by pwrctl. AFAIK /dev/zero is substituted for stdin instead.

Why then does anacron choke on that, but it works with /dev/null?


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Reply to: