aboutsummaryrefslogtreecommitdiff
path: root/sysutils/munin-node/pkg-deinstall
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2011-02-15 00:11:56 +0000
committerFlorian Smeets <flo@FreeBSD.org>2011-02-15 00:11:56 +0000
commit02c771df45f4eb24ca26b038c06ad42a8478b22a (patch)
tree442992f786a462b079420d60323f482b5d609818 /sysutils/munin-node/pkg-deinstall
parent2c9fdd98a12f05d60ea9efccbb8ebcd9003c2d27 (diff)
Notes
Diffstat (limited to 'sysutils/munin-node/pkg-deinstall')
-rw-r--r--sysutils/munin-node/pkg-deinstall6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/munin-node/pkg-deinstall b/sysutils/munin-node/pkg-deinstall
index 358fae50e416..cc61d62e58f9 100644
--- a/sysutils/munin-node/pkg-deinstall
+++ b/sysutils/munin-node/pkg-deinstall
@@ -51,14 +51,14 @@ delete_crontab_entries() {
delnewsyslog() {
tmp="/etc/#munin-node$$"
- sed -e '/^\/var\/log\/munin-node.log[ ]/d' /etc/newsyslog.conf >${tmp}
+ sed -e '/^\/var\/log\/munin\/munin-node.log[ ]/d' /etc/newsyslog.conf >${tmp}
cat ${tmp} > /etc/newsyslog.conf
rm ${tmp}
}
newsyslog() {
- ENTRY=`grep /var/log/munin-node.log /etc/newsyslog.conf`
- DEFAULT='/var/log/munin-node.log 644 7 * @T00 Z /var/run/munin/munin-node.pid'
+ ENTRY=`grep /var/log/munin/munin-node.log /etc/newsyslog.conf`
+ DEFAULT='/var/log/munin/munin-node.log 644 7 * @T00 Z /var/run/munin/munin-node.pid'
if [ -z "$ENTRY" ]; then
exit 0
elif [ "$ENTRY" = "$DEFAULT" ]; then