aboutsummaryrefslogtreecommitdiff
path: root/files/munin/vserver_resources
diff options
context:
space:
mode:
Diffstat (limited to 'files/munin/vserver_resources')
-rwxr-xr-xfiles/munin/vserver_resources3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/munin/vserver_resources b/files/munin/vserver_resources
index 495614f..05dfecb 100755
--- a/files/munin/vserver_resources
+++ b/files/munin/vserver_resources
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright (C) 2006-2008 Holger Levsen and Micah Anderson
#
@@ -127,6 +127,7 @@ VSERVERS="$vservers"
LIMITS="$limits"
RESOURCE="$resource"
+# FIXME: using arrays is a bashism
INFO=(`sed 's/.*:\t//' /proc/virtual/info 2>/dev/null || echo '<none>'`)
KCIN="$[ 16#${INFO[2]} ]";