From 065e416930e69a5d7658cb023e791310480e1c0e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 1 Sep 2015 13:02:38 +0200 Subject: munin via ssh+nc works nicely now --- bin/reproducible_info.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_info.sh b/bin/reproducible_info.sh index c73fef65..4f44e658 100755 --- a/bin/reproducible_info.sh +++ b/bin/reproducible_info.sh @@ -10,5 +10,7 @@ NUM_CPU=$(grep -c '^processor' /proc/cpuinfo) DATETIME=$(date +'%Y-%m-%d %H:%M %Z') for i in ARCH NUM_CPU DATETIME ; do - echo "$i['$HOSTNAME']=\"${!i}\"" + if [ "$1" = "$i" ] ; then + echo "${!i}" + fi done -- cgit v1.2.3-70-g09d2