blob: d8b13f0e3b11ac3a3c4ab9a4b8f5307a0b60fbed [file] [log] [blame]
#!/bin/sh
uci batch <<EOF
set nut_monitor.@upsmon[-1]=upsmon
set nut_monitor.@upsmon[-1].notifycmd=/usr/bin/upssched-cmd
set nut_monitor.@upsmon[-1].defaultnotify="SYSLOG EXEC"
commit nut_monitor
EOF