Re: Allow userspace do something special on overtemp

Pavel Machek
2004-08-12T07:36:32Z

Hi!

> > This patch cleans up thermal.c a bit, and adds possibility to react to
> > critical overtemp: it tries to call /sbin/overtemp, and only if that
> > fails calls /sbin/poweroff.
> >
> > Could it be applied?
>
> Why invent Yet-Another-Call-To-Userland-Interface when either
> hotplug/dbus, netlink or an ACPI event will do?
>
> The argument "well what if hotplug of acpid don't know what to do" is,
> IMO, bogus since:
>
> * Obviously systems today are functioning

Yes, kernel is calling /sbin/poweroff, which everyone has. Switching
to hotplug/dbus would immediately break those systems.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!