diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-01 13:02:38 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-01 13:02:38 +0200 |
commit | 065e416930e69a5d7658cb023e791310480e1c0e (patch) | |
tree | 8507beafe76d417f69664f560df3a69417ab8d2b /bin | |
parent | 7caa6c7cccb344cde52d2910a904892cb7a87554 (diff) | |
download | jenkins.debian.net-065e416930e69a5d7658cb023e791310480e1c0e.tar.xz |
munin via ssh+nc works nicely now
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_info.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |