[OpenIndiana-discuss] poweroff does not turn off the computer

Dietmar Sovonja juhuu2004 at gmx.de
Wed Apr 18 19:12:05 UTC 2012


Thanks a lot.

I tried the workaround, but the problem still exists. (I also tried the 
option -F)

Dietmar



On 18.04.12 18:03, Paolo Marcheschi wrote:
> Hi
> I solved the problem adding the command "psradm -f -a" in the file:
> */usr/lib/hal/sunos/hal-system-power-shutdown-sunos*
>
> just before the init 5 command:
>
> ------------
> unsupported() {
> echo "org.freedesktop.Hal.Device.SystemPowerManagement.NotSupported" >&2
> echo "No shutdown command found" >&2
> exit 1
> }
>
> if [ -x "/sbin/init" ] ; then
> */usr/sbin/psradm -f -a*
> /sbin/init 5
> exit $?
> else
> unsupported
> fi
>
> ------------
>
> The command disables the extra processors, and permits to switch off the
> computer.
>
> I hope this solves the issue, Maybe could be added to the stable release.
>
> Paolo
>
>
> On 04/18/12 05:31 PM, Dietmar Sovonja wrote:
>> Hi,
>>
>> when I shut down the computer with the poweroff command, the system is
>> going down, but the computer does not turn off. I have to hold the
>> power button to turn the computer off.



More information about the OpenIndiana-discuss mailing list