#! /bin/sh init_plugins() { if [ -f /tmp/.munin-node.version ]; then prevver=$(cat /tmp/.munin-node.version) fi if [ -n "$prevver" ]; then echo -n "Initializing new plugins.." ${PKG_PREFIX}/sbin/munin-node-configure --shell --newer "${prevver%-*}" | sh -x fi echo "done." } newsyslog() { if grep -q /var/log/munin/munin-node.log /etc/newsyslog.conf; then : else cat >> /etc/newsyslog.conf <