Messages in this thread | | | Date | Thu, 11 Aug 2005 14:10:17 +0200 | From | Pavel Machek <> | Subject | Re: Standardize shutdown of the system from enviroment control modules |
| |
Hi!
> Currently snsc_event for Altix systems sends SIGPWR to init (and abuses > tasklist_lock..) while the sbus drivers call execve for /sbin/shutdown > (which is also ugly, it should at least use call_usermodehelper) > With normal sysvinit both will end up the same, but I suspect the > shutdown variant, maybe with a sysctl to chose the exact path to call > would be cleaner. What do you guys think about adding a common function > to do this. Could you test such a patch for me?
ACPI does some exec (in thermal), too. Yes, I think it is worth standartizing. Easy to test, btw, just echo too low trippoints.
Pavel -- if you have sharp zaurus hardware you don't need... you know my address - 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/
| |