summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/network-ups-tools/run.upsd
blob: b0a02a37e3a0bdcd69c7a3ef001345d0769c25d8 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

svwaitup 3 /var/service/upsdrvctl || exit 1

    stat_runit "Starting UPSd Daemon"
      exec /usr/bin/upsd -D &> /dev/null