summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut/patches
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/patches
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/patches')
-rw-r--r--sysutils/ups-nut/patches/patch-ac21
1 files changed, 0 insertions, 21 deletions
diff --git a/sysutils/ups-nut/patches/patch-ac b/sysutils/ups-nut/patches/patch-ac
deleted file mode 100644
index f8f1aca384e..00000000000
--- a/sysutils/ups-nut/patches/patch-ac
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2001/03/11 13:46:12 martin Exp $
-
-diff -Pur scripts-orig/NetBSD/upsd.sh scripts/NetBSD/upsd.sh
---- scripts-orig/NetBSD/upsd Wed Dec 31 16:00:00 1969
-+++ scripts/NetBSD/upsd Thu Dec 14 21:19:34 2000
-@@ -0,0 +1,15 @@
-+#!/bin/sh
-+UPS_DRIVER="apcsmart"
-+DRIVER_OPTIONS=""
-+SPECIAL_FILE="/dev/dty00"
-+MONITOR_HOST="localhost"
-+
-+if [ -z "$1" -o "x$1" = xstart ]
-+then
-+ if [ x$MONITOR_HOST = xlocalhost ]
-+ then
-+ %%PREFIX%%/bin/$UPS_DRIVER $DRIVER_OPTIONS $SPECIAL_FILE
-+ %%PREFIX%%/sbin/upsd
-+ fi
-+ %%PREFIX%%/sbin/upsmon $MONITOR_HOST
-+fi