On 04.04.2012 22:24, Robert Millan wrote:
- while /sbin/route del default gw 0.0.0.0 dev $interface; do :; done
+ if [ ${uname} = GNU/kFreeBSD ] ; then
+ while /lib/freebsd/route del -net 0.0.0.0 0.0.0.0 dev
$interface; do :; done
+ else
+
And one more thing...
On 05.04.2012 13:37, Michael Tokarev wrote:
On 04.04.2012 22:24, Robert Millan wrote:
-while /sbin/route del default gw 0.0.0.0 dev $interface; do :; done
+if [ ${uname} = GNU/kFreeBSD ] ; then
+while /lib/freebsd/route del -net 0.0.0.0
El 5 d’abril de 2012 11:37, Michael Tokarev m...@tls.msk.ru ha escrit:
I also wonder if we can just test for /lib/freebsd/route
existance instead of checking $(uname -r) ?
Somehow I'm not comfortable with the uname check...
It doesn't make a difference now. But what will you do when we
On 05.04.2012 15:27, Robert Millan wrote:
El 5 d’abril de 2012 11:37, Michael Tokarev m...@tls.msk.ru ha escrit:
I also wonder if we can just test for /lib/freebsd/route
existance instead of checking $(uname -r) ?
Somehow I'm not comfortable with the uname check...
It doesn't make a
El 5 d’abril de 2012 14:25, Michael Tokarev m...@tls.msk.ru ha escrit:
You can't archieve compatible CLI among net-tools/Linux route and
FreeBSD route. They were never meant to be compatible. All existing
portable DHCP clients adapt to this and ship separate setup scripts
for each platform.
Hi Michael,
Please consider attached patch to fix this issue. It preserves the
loop as you asked, and avoids the gw keyword on GNU/kFreeBSD since
this syntax won't be supported by ifconfig on that platform.
We need this to be solved soon so that we can finish the route
transition. I've also
6 matches
Mail list logo