summaryrefslogtreecommitdiffstats
path: root/system/apcupsd/doinst.sh
diff options
context:
space:
mode:
author Robby Workman2010-05-12 17:44:57 +0200
committer David Somero2010-05-12 17:44:57 +0200
commit440b72989b3a330594e689c3ef74ab3dbae85519 (patch)
tree634e761f7c8e360e84bfdf13d1fc121eb842192a /system/apcupsd/doinst.sh
parent7e7696327cd7233cec689563f77e01223710b69c (diff)
downloadslackbuilds-440b72989b3a330594e689c3ef74ab3dbae85519.tar.gz
system/apcupsd: Updated for version 3.14.5
Diffstat (limited to 'system/apcupsd/doinst.sh')
-rw-r--r--system/apcupsd/doinst.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/apcupsd/doinst.sh b/system/apcupsd/doinst.sh
index 797750001b..e4732cd256 100644
--- a/system/apcupsd/doinst.sh
+++ b/system/apcupsd/doinst.sh
@@ -1,5 +1,3 @@
-#!/bin/sh
-
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -31,4 +29,5 @@ config etc/apcupsd/hosts.conf.new
config etc/apcupsd/multimon.conf.new
config etc/apcupsd/offbattery.new
config etc/apcupsd/onbattery.new
+config etc/logrotate.d/apcupsd.new