summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut/Makefile
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2001-03-11 19:20:50 +0000
committermartin <martin@pkgsrc.org>2001-03-11 19:20:50 +0000
commit25b4e14643d8c3e139c713201f0c922f0cc4359f (patch)
treef299226ccd45c0ac920e29956b6deccd969dd791 /sysutils/ups-nut/Makefile
parent45a38999bd0dfb72aea4705478e46a1faedf0620 (diff)
downloadpkgsrc-25b4e14643d8c3e139c713201f0c922f0cc4359f.tar.gz
Bring upsd startup script more in line with /etc/rc.d and /etc/rc.conf.
Now updating does not destroy parts of the local configuration any more.
Diffstat (limited to 'sysutils/ups-nut/Makefile')
-rw-r--r--sysutils/ups-nut/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/ups-nut/Makefile b/sysutils/ups-nut/Makefile
index 2170cf010de..466a57339a9 100644
--- a/sysutils/ups-nut/Makefile
+++ b/sysutils/ups-nut/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/03/11 13:46:11 martin Exp $
+# $NetBSD: Makefile,v 1.5 2001/03/11 19:20:50 martin Exp $
#
DISTNAME= nut-0.44.3-pre5
@@ -67,7 +67,7 @@ pre-install:
post-install:
@${SED} -e "/%%PREFIX%%/s##${LOCALBASE}#g" \
- ${WRKSRC}/scripts/NetBSD/upsd \
+ files/upsd \
>${LOCALBASE}/etc/rc.d/upsd
@${CHMOD} 0755 ${LOCALBASE}/etc/rc.d/upsd
@${INSTALL} -d -o ${NUT_USER} -g ${NUT_GROUP} -m 0770 /var/db/nut