On 1/1/2020 12:27 PM, Manuel Wolfshant wrote:
that command  only stops the drivers. generally speaking, upsdrvctl
operates *only* on the drivers.

pi@pi:~# upsdrvctl --help
Network UPS Tools - UPS driver controller 2.7.4
upsdrvctl: invalid option -- '-'
Starts and stops UPS drivers via ups.conf.

usage: upsdrvctl [OPTIONS] (start | stop | shutdown) [<ups>]

  -h                    display this help
  -r <path>             drivers will chroot to <path>
  -t                    testing mode - prints actions without doing them
  -u <user>             drivers started will switch from root to <user>
  -D                    raise debugging level
  start                 start all UPS drivers in ups.conf
  start <ups>           only start driver for UPS <ups>
  stop                  stop all UPS drivers in ups.conf
  stop <ups>            only stop driver for UPS <ups>
*  shutdown              shutdown all UPS drivers in ups.conf*
  shutdown <ups>        only shutdown UPS <ups>



_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Thanks for the clarification, Manuel. This explains why the UPS itself did not shut down. Maybe NUT lacks an ability to do what I am looking for - turn off the ups unit?

_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to