Messages in this thread |  | | | From | Måns Rullgård <> | | Subject | Re: Allow userspace do something special on overtemp | | Date | Wed, 11 Aug 2004 11:18:49 +0200 |
| |
Arjan van de Ven <arjanv@redhat.com> writes:
> On Wed, 2004-08-11 at 10:53, Pavel Machek wrote: >> 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. > > why not call /sbin/hotplug ????
Good idea, then udev could create /dev/blowtorch so some other program can do ioctl(SCSI_STOP) (or just run cdrecord dev=6,6,6 -eject). Besides, it is called HOTplug for a reason.
Seriously, though, isn't hotplug supposed to handle plugging and unplugging of hardware, rather than any random events detected by the kernel?
-- Måns Rullgård mru@kth.se
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |