Version bump

This commit is contained in:
Matthew Connelly 2016-03-15 20:19:41 +00:00
parent a2455a7924
commit 59d856596f
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
base="/etc/munin-node" # plugins should be installed at plugins.d inside $base base="/etc/munin-node" # plugins should be installed at plugins.d inside $base
myname='openwrt-munin-node' myname='openwrt-munin-node'
ver='1.1' ver='1.2'
host=`cat /proc/sys/kernel/hostname` host=`cat /proc/sys/kernel/hostname`
modules="" modules=""
register_module() { mn=`echo $1|sed 's/:$//'`;me=`echo $2|sed 's/:$//'`;shift 2;for f in config fetch;do rme=$me;[ "`echo $me|head -c1`" == "_" ]&&rme="$f$me";eval "${f}_$mn() { $rme `[ "$f" == "config" -a "$me" == "$rme" ]&&echo config` $@ \$@; };";done; } register_module() { mn=`echo $1|sed 's/:$//'`;me=`echo $2|sed 's/:$//'`;shift 2;for f in config fetch;do rme=$me;[ "`echo $me|head -c1`" == "_" ]&&rme="$f$me";eval "${f}_$mn() { $rme `[ "$f" == "config" -a "$me" == "$rme" ]&&echo config` $@ \$@; };";done; }