summaryrefslogtreecommitdiff
path: root/sysutils/nut/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2014-07-05 04:51:06 +0000
committerCy Schubert <cy@FreeBSD.org>2014-07-05 04:51:06 +0000
commite1b8e14c99a4f807b3b441621d1c2bcfde335c9f (patch)
tree8003e2821001f8f218ee7230f788e168f0b373e7 /sysutils/nut/files
parent- Fix fetch. (diff)
Point rc script to the new upsdrvctl path.
Diffstat (limited to 'sysutils/nut/files')
-rw-r--r--sysutils/nut/files/nut.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/nut/files/nut.in b/sysutils/nut/files/nut.in
index 98ba6394389c..5b0e3cb86050 100644
--- a/sysutils/nut/files/nut.in
+++ b/sysutils/nut/files/nut.in
@@ -34,11 +34,11 @@ start_precmd="nut_prestart"
stop_postcmd="nut_poststop"
nut_prestart() {
- ${nut_prefix}/libexec/nut/upsdrvctl start
+ ${nut_prefix}/sbin/upsdrvctl start
}
nut_poststop() {
- ${nut_prefix}/libexec/nut/upsdrvctl stop
+ ${nut_prefix}/sbin/upsdrvctl stop
}
extra_commands=reload