[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Log messages
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Log messages
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Wed, 15 Aug 2007 16:35:38 +0200
- References: <081420072020.21816.46C20EA1000CFCA9000055382213539653089BCB0E0A089C (at) comcast.net> <20070814203819.GB15425 (at) hswn.dk> <9386A1ED977B3F448D2B2A38E7FCAB7806717CF4 (at) CORPUSMX30A.corp.emc.com> <20070815071150.GA29812 (at) hswn.dk> <9386A1ED977B3F448D2B2A38E7FCAB780179BB95 (at) CORPUSMX30A.corp.emc.com>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Aug 15, 2007 at 09:09:47AM -0400, shea_greg (at) emc.com wrote:
> > sh-3.2$ ./temperature.sh
> > Unknown OS linux
> >
> > sh-3.2$ echo $?
> > 1
>
> Exactly, temperature.sh checks the $BBOSTYPE variable for known OS types
> It should match on the linux|redhat) line but doesn't
No, because "linux<newline>" doesn't match "linux". You need to figure
out where that extra newline comes from; the Hobbit client
"runclient.sh" script picks it up from the "uname -s" output, and that
should not (normally) include a newline. So either uname is broken on
these boxes, or BBOSTYPE is being set somewhere else.
Regards,
Henrik