However, this won't work with bevs because it was not designed to take
input from standard in.

Damion.

redirect wrote:
> 
> yes, - the following is a simple example
> 
> make;make install
> 
> ----- Original Message -----
> From: "Ben Kennish" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 03, 2001 5:42 PM
> Subject: Re: How to do stuff in batch on the VS
> 
> > So would the final command be...
> >
> > bevs -r krusty < commands.sh
> > OR
> > cat commands.sh | bevs -r krusty
> >
> > where commands.sh is a list of commands seperated by ; and NOT carriage
> > returns?
> >
> > I guess I need to learn a little more about using shell metacharacters.
> > :-)
> >
> > TIA,
> >
> >
> > Ben Kennish
> > [EMAIL PROTECTED]
> > www.fubra.com
> >
> > ----- Original Message -----
> > From: "redirect" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, October 03, 2001 5:10 PM
> > Subject: Re: How to do stuff in batch on the VS
> >
> >
> > > separate with a semi-colon ;
> > >
> > > /sbin/ipchains -N table;/sbin/ipchains -I input -j
> > table;/sbin/ipchains -I
> > > output -j table;/sbin/ipchains -A table -s
> > 127.00.00.1/255.255.255.255 -p
> > > all;/sbin/ipchains -A table -d 127.00.00.1/255.255.255.255 -p all
> > >
> > >
> > > ----- Original Message -----
> > > From: "Ben Kennish" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, October 03, 2001 4:35 PM
> > > Subject: How to do stuff in batch on the VS
> > >
> > >
> > > > Dear all,
> > > >
> > > > What is the recommended way of running multiple commands on a VS
> > when
> > > > your list of commands is on the hosting server.
> > > >
> > > > For example,
> > > >
> > > > I've tried using...
> > > >
> > > > bevs -r krusty < /etc/commands.sh
> > > > cat /etc/commands.sh | bevs -r krusty
> > > >
> > > > but both of these give strange results.
> > > >
> > > > However,
> > > >
> > > > cat /etc/commands.sh | chroot /home/vsd/vs/krusty
> > > >
> > > > seems OK.  Could a "-f (filename)" option be added to bevs that
> > executes
> > > > the list of commands held in (filename) on the VS and then exits?
> > This
> > > > would seem a lot nicer.
> > > >
> > > > Thanks in advance,
> > > >
> > > >
> > > >
> > > > Ben Kennish
> > > > [EMAIL PROTECTED]
> > > > www.fubra.com
> > > >
> >
> >
> > ------------------------- The freeVSD Support
> List --------------------------
> > Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> > Unsubscribe:
> mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> > Archives:    http://freevsd.org/support/mail-archives/freevsd-support
> > --------------------------------------------------------------------------
> ---
> >
> 
> ------------------------- The freeVSD Support List --------------------------
> Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> Archives:    http://freevsd.org/support/mail-archives/freevsd-support
> -----------------------------------------------------------------------------
------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to