Re: [Nut-upsuser] Correct shutdown scripts for Ubuntu or Suse

2006-12-20 Thread pico
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 sou

Re: [Nut-upsuser] Correct shutdown scripts for Ubuntu or Suse

2006-12-20 Thread Arjen de Korte
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 >

Re: [Nut-upsuser] Correct shutdown scripts for Ubuntu or Suse

2006-12-19 Thread Charles Lepple
On 12/19/06, Arjen de Korte <[EMAIL PROTECTED]> wrote: pico wrote: > I would like to switch off my UPS once all upsmon clients have been > disconnected from the upsd server, so that when power returns all the > hosts connected to the ups will be powered up again. > > In the documentation it stat

Re: [Nut-upsuser] Correct shutdown scripts for Ubuntu or Suse

2006-12-19 Thread Charles Lepple
On 12/19/06, pico <[EMAIL PROTECTED]> wrote: Does anyone know the correct file to edit for both Ubuntu and Suse. Not sure about SuSE, but there is an Ubuntu package already, and you can adapt the paths in their shutdown script if you want to use a later version than 2.0.4: http://archive.ubunt

Re: [Nut-upsuser] Correct shutdown scripts for Ubuntu or Suse

2006-12-19 Thread Arjen de Korte
pico wrote: > I would like to switch off my UPS once all upsmon clients have been > disconnected from the upsd server, so that when power returns all the > hosts connected to the ups will be powered up again. > > In the documentation it states that I should edit my shutdown scripts to > add the c