On Fri, May 11, 2001 at 01:06:08PM -0400, Joseph Mack wrote:
> Horms wrote:
>
> > So if the service doesn't exist it would be the same as running
> > ipvsadm -a ...
> >
> > But if the service already exists it would be the same as the current
> > behaviour for ipvsadm -e ..
> >
> > Is this what you are after? It certainly seems like a good idea to me.
>
> yes!
>
> I'm looking for an ipvsadm -a command that will work in a script.
I'm thinking that the best way to do this would be to merge the
behaviour of -a and -e (-A and -E) so that if either option is used a
new entry will be added if there is none, else the existing entry
will be edited.
--
Horms
horms@xxxxxxxxxxxx
http://vergenet.net/~horms/
|