SmartAudio/package/network/nut/files/nut-server.init

24 lines
223 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=50
USE_PROCD=1
restart() {
stop_service
start_service
}
start_service() {
upsdrvctl start
upsd
}
stop_service() {
upsd -c stop
upsdrvctl stop
}
reload_service() {
upsd -c reload
}