[Nut-upsuser] NUT 2.6.5 and openSUSE 13.1

Roger Price roger at rogerprice.org
Mon Dec 9 22:04:01 UTC 2013


The latest release of openSUSE is 13.1 and it includes NUT 2.6.5.  It is a 
pleasure to report that this works well when equipped with a working set 
of configuration files.

Additionally, the setup requires

1. Something to execute upsdrvctl shutdown to turn off the UPS unit.  A 
systemd script "ups-delayed.shutdown" in /usr/lib/systemd/system-shutdown 
will do the job.

  #! /bin/bash
  # ups-delayed.shutdown  Delayed turn off for the UPS unit.
  # Needed for automatic system restart when wall power returns.
  UPSDRVCTL_BIN=/usr/lib/ups/driver/upsdrvctl
  $UPSDRVCTL_BIN shutdown

2. Automatic start for system unit upsd.service.  In release 13.1 the 
previous table of execution levels has been replaced by Yast => System => 
Services Manager but this does not include upsd. (This omission may be 
corrected by 13.1 updates) To set up automatic daemon start, execute as 
root the commands

  pinta:~ # chkconfig upsd on
  pinta:~ # chkconfig --list | grep upsd
  upsd                      0:off  1:off  2:off  3:on   4:off  5:on   6:off

You should see the confirmation that the daemon will be automatically 
started in levels 3 and 5.

For full details of my test configuration, see 
http://rogerprice.org/NUT.html

Roger



More information about the Nut-upsuser mailing list