[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 11:00, David N. Welton wrote:
> I have this in my pwrctl-local:
> 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

I just tried adding < /dev/null and it seems to work. :)

I recommend installing the on_ac_power script posted here recently and
using /etc/init.d/anacron start instead.

The xrefresh you shouldn't need; enable APM emulation in the kernel and
create /dev/apm_bios.

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

Reply to: