[Nut-upsuser] Correct shutdown scripts for Ubuntu or Suse
pico
pico at trispen.com
Wed Dec 20 15:58:38 CET 2006
Thanks you both for your replies.
I currently got it to work by hacking my halt script
This is probably not the the best way to go about it, but I am using
Suse 10.0 and could not find a nut package for it.
I'm really interested to see how this should work, so I'd like to try
out those source rpm's.
I downloaded the Ubuntu source package and figured out that the halt
script on Ubuntu looks for
/etc/init.d/ups-monitor (which is a symlink to the /etc/init.d/nut).
It's a pity that there is not a more standardized way to go about this,
since I'm probably going to have do it again for an old FreeBSD box.
Anyways, Thanks again
Pico
Arjen de Korte wrote:
> Charles Lepple wrote:
>
>
>> However, if you are installing from source, you can still use the
>> startup/shutdown scripts as a guide. I forgot to mention earlier that
>> you will need to link /etc/init.d/nut into the appropriate shutdown
>> directory (probably /etc/rc0.d; my Ubuntu box is not on at the
>> moment).
>>
>
> If you want to install a newer version than SuSE provides at the moment,
> it is probably best to install the sources from SuSE. You can then
> modify the .spec file that is provided to use a newer version. This does
> require some tweaking of the patches that are used, since SuSE installs
> some files in different locations or under different names.
>
> I usually have RPM's available for the latest version of the trunk and
> testing branches. I'm currently using openSUSE 10.2, but as far as I
> know, the source RPM's build cleanly on other versions as well. If
> you're interested, just let me know.
>
> Best regards, Arjen
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>
>
>
More information about the Nut-upsuser
mailing list