Add nut SSH remote shutdown
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
#! /bin/sh
|
||||
case $1 in
|
||||
onbatt)
|
||||
ssh
|
||||
{% for host in ups_hosts %}
|
||||
ssh root@{{ host }}
|
||||
{% endfor %}
|
||||
;;
|
||||
lowbatt)
|
||||
/sbin/upssched fsd;;
|
||||
|
||||
Reference in New Issue
Block a user