aboutsummaryrefslogtreecommitdiff
path: root/sysutils/munin-node/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/munin-node/pkg-install')
-rw-r--r--sysutils/munin-node/pkg-install7
1 files changed, 2 insertions, 5 deletions
diff --git a/sysutils/munin-node/pkg-install b/sysutils/munin-node/pkg-install
index 844291440b42..a793c928d3a8 100644
--- a/sysutils/munin-node/pkg-install
+++ b/sysutils/munin-node/pkg-install
@@ -30,8 +30,8 @@ yesno() {
}
init_plugins() {
- if [ -f ${PKG_PREFIX}/etc/munin/VERSION.node ]; then
- prevver=$(cat ${PKG_PREFIX}/etc/munin/VERSION.node)
+ if [ -f /tmp/.munin-node.version ]; then
+ prevver=$(cat /tmp/.munin-node.version)
fi
if [ -n "$prevver" ]; then
@@ -73,9 +73,6 @@ newsyslog() {
/var/log/munin/munin-node.log 644 7 * @T00 Z /var/run/munin/munin-node.pid
EOT
fi
- if [ -f ${PKG_PREFIX}/bin/munin-node-revive ]; then
- create_crontab_entries '4 * * * *' ${PKG_PREFIX}/bin/munin-node-revive
- fi
else
echo "/var/log/munin-node.log will grow without bounds."
fi