AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070815184920.62b0bcfe@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E02215986@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 15 Aug 2007 18:49:22 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: power cycle script
Message-ID: <20070815184922.3ccc9db8@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E02215986@onstor-exch02.onstor.net>
References: <20070815182848.38bd7ac0@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E02215986@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I think you can just comment out that whole paragraph, it's bollox
anyway.  Just comment out the whole if sequence starting on line 80.

On Wed, 15 Aug 2007 18:34:19 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> Yes, I changed the variables to match my needs and I used dos2unix to
> convert the script because it came through outlook and outlook
> converts files to dos format.
> 
> The file looks okay to me in vi....
> 
> I don't know expect syntax so I don't know if it should be  if !
> $SENTRY_IP or if ! {$SENTRY_IP} or if ![$SENTRY_IP] I was hoping you
> would know if the statement it is grousing about was correct.
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Wednesday, August 15, 2007 6:29 PM
> To: Larry Scheer
> Subject: Re: power cycle script
> 
> Make sure it didn't get mangled when you saved it.  Also, what is
> SENTRY_IP being set to?  You have to edit the various variables at the
> beginning to the right values for your setup.
> 
> On Wed, 15 Aug 2007 18:22:21 -0700 "Larry Scheer"
> <larry.scheer@onstor.com> wrote:
> 
> > Script doesn't work...
> > syntax error in expression "!": premature end of expression
> >     while executing
> > "if ! $SENTRY_IP {
> >            puts "BCCONF not set"
> >            exit 1
> >    }"
> >     invoked from within
> > "if ![info exists env(BCCONF)] {
> >         if ! $SENTRY_IP {
> >            puts "BCCONF not set"
> >            exit 1
> >    }
> > } else { 
> >   source $env(BCCONF)
> > }
> > 
> > -----Original Message-----
> > From: Andy Sharp 
> > Sent: Wednesday, August 15, 2007 5:10 PM
> > To: Larry Scheer
> > Subject: power cycle script
> > 
> >  
