Hobbit client cosmetic bug
Peter Welter
peter.welter at gmail.com
Wed Apr 18 10:57:54 CEST 2007
Hello Henrik,
In Hobbit 4.2 there is a comestic bug in ~hobbit/client/bin/hobbitclient-
linux.sh.
This script parses on what Linux-release Hobbit is running.
echo "[osversion]"
...[snip]...
elif [ -f /etc/SuSE-release ]; then
grep ^SuSE /etc/SuSE-release
...[snip]...
This produces the right output on Suse 9.1:
SuSE Linux 9.1 (i586)
VERSION = 9.1
But on SLES9, the file contains SUSE in uppercase.
# cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3
Of course this can easily be solved with a grep -i.
Regards,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070418/d3fca5ce/attachment.html>
More information about the Xymon
mailing list