[Ma-linux] Re: [Novalug] Need help: Need to build Apcupsd on a FreeBSD 6.2 box
Jay Hart
jhart at kevla.org
Fri Jul 13 11:55:14 EDT 2007
I just wanted to say that I am almost ready to put the final touches on
resolving this problem. Hopefully tonights testing will resolve any issues.
Thanks Tom Rhodes for your help,
Jay
> On Fri, 2007-07-13 at 07:31 -0700, Brandon Saxe wrote:
>> > If 'shutdown -P' doesn't power off your system then
>> > you need to adjust
>> > the shutdown subsystem.
>>
>> I have a machine that does not power off with this.
>> How does one 'adjust the shutdown system' as stated
>> above so that it does?
>>
>> Thanks,
>> Brandon
>
> First question:
> Does your HARDWARE support the feature?
> If it doesn't the best you can ever do is HALT the system and request
> that the operator switches the power off.
>
> What disturprodution(sp) are you running?
>
> As it depends on where the configuration files {if any} are located.
>
> In Ubuntu and most Debian based distru<G> there is a file:
> /etc/default/halt
>
> Which should contain something close to:
>
> # Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".
> HALT=poweroff
>
> If it doesn't adjust and test things out.
>
> Next step
> Look in /etc/rc0.d/ for the file S90halt
> $ ls -l /etc/rc0.d/S??halt
>
> The above should return something like:
> lrwxrwxrwx 1 root root 14 2005-05-07 04:29 /etc/rc0.d/S90halt ->
> ../init.d/halt
>
> {-:
> Note the date and time will most likely be different as the above
> is from my older Debian based system.
> :-}
>
> If it there then study the file:
> less /etc/init.d/halt
>
> For ideas as to where to look next.
>
> WARNING:
> Do not try to execute /etc/init.d/halt directly.
> It is intended to be ran by 'init' at the end of runlevel 0 and will
> only work correctly in that contents.
> Otherwise bad things can and will happen.
>
> --
> --
> Don E. Groves, Jr.
>
> $ /usr/games/fortune :
> Consider well the proportions of things. It is better to be a young
> June-bug than an old bird of paradise.
> -- Mark Twain, "Pudd'nhead Wilson's Calendar"
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
More information about the Ma-linux
mailing list