#!/bin/sh
# Network UPS Tools - driver controller
install -d -m 0770 -o nut -g nut /run/ups
upsdrvctl -D start
exec chpst -b upsdrvctl pause