summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2013-02-09 14:32:02 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2013-02-09 14:32:02 +0000
commit084321f8302e2d95ea765198174cc93d4407be5a (patch)
treee2c6b3cd9ddfd5496e3e408c9c087538a7ab7784 /net-analyzer/munin/files
parentfix build on clang (diff)
downloadhistorical-084321f8302e2d95ea765198174cc93d4407be5a.tar.gz
historical-084321f8302e2d95ea765198174cc93d4407be5a.tar.bz2
historical-084321f8302e2d95ea765198174cc93d4407be5a.zip
Version bump to 2.0.11.1; fix bug #456124 (init script's bashisms and other stuff), also fix bug #455826 (FreeBSD compatibility).
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x1CD13C8AD4301342
Diffstat (limited to 'net-analyzer/munin/files')
-rw-r--r--net-analyzer/munin/files/munin-node_init.d_2.0.76
1 files changed, 3 insertions, 3 deletions
diff --git a/net-analyzer/munin/files/munin-node_init.d_2.0.7 b/net-analyzer/munin/files/munin-node_init.d_2.0.7
index ab5ddd2ddd7f..6e47d2dc9187 100644
--- a/net-analyzer/munin/files/munin-node_init.d_2.0.7
+++ b/net-analyzer/munin/files/munin-node_init.d_2.0.7
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/files/munin-node_init.d_2.0.7,v 1.2 2013/01/23 19:22:41 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/files/munin-node_init.d_2.0.7,v 1.3 2013/02/09 14:29:02 flameeyes Exp $
get_munin_config() {
awk '$1 == "'$1'" { s=$2 } END { print s }' "$CFGFILE"
@@ -20,7 +20,7 @@ depend() {
before cron
- [ "$(get_munin_config log_file)" == "Sys::Syslog" ] && \
+ [ "$(get_munin_config log_file)" = "Sys::Syslog" ] && \
use logger
}
@@ -30,7 +30,7 @@ start_pre() {
reload() {
ebegin "Reloading ${SERVICE}"
- kill -HUP `cat ${pidfile}`
+ kill -1 `cat ${pidfile}`
eend $?
}