summaryrefslogtreecommitdiff
path: root/system/apcupsd/doinst.sh
diff options
context:
space:
mode:
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