Re: [PATCH] off-by-1 in kernel/power/main.c
From: Pavel Machek
Date: Mon Apr 24 2006 - 03:58:03 EST
> > Valid way to power off machine is by shutdown -o now, and there's a
> > syscall to do that. It should not be done by /sys/power/state.
>
> hey... my shutdown doesn't have a -o option... where can i find that?
Not sure where I got it, because _my_ shutdown does not have -o,
either. Sorry. It has
-P Halt action is to turn off the power.
however. Plus there's a syscall you can use...
Pavel
--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/