From e02f8638bcdf08d59b1a13b8a5be5efe1f344f27 Mon Sep 17 00:00:00 2001 From: Matt Taggart Date: Mon, 13 Feb 2012 16:19:58 -0800 Subject: these have bashisms which don't work with dash as /bin/sh, so switch the scripts to bash and add a comment --- files/munin/vserver_cpu_ | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'files/munin/vserver_cpu_') diff --git a/files/munin/vserver_cpu_ b/files/munin/vserver_cpu_ index 981f262..8ce3a95 100755 --- a/files/munin/vserver_cpu_ +++ b/files/munin/vserver_cpu_ @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2006-2008 Holger Levsen and Micah Anderson # @@ -63,6 +63,7 @@ VSERVERS="$vservers" +# FIXME: using arrays is a bashism INFO=(`sed 's/.*:\t//' /proc/virtual/info 2>/dev/null || echo ''`) KCIN="$[ 16#${INFO[2]} ]"; -- cgit v1.2.3