On 19.12.2009 16:48, Sergey Dorofeev wrote:
> #!/bin/sh
> 
> IFACE=$1
> if [ "$2" == "up" ]
          ^^^^^^

This is bashism.

Please, use "=" if you looking for portability.

> then
>   INS=-I
>   ADD=-A
> else
>   INS=-D
>   ADD=-D
> fi
> 
> workaround: use bash

True :)

-- 
Rgrds, legion




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to