[networking-discuss] Re: [ksh93-integration-discuss] [Fwd:CR6551714 Created P1/lib/svc/method/net-routing-setup doesn't getalongwithksh93=/sbin/sh]
James Carlson
james.d.carlson at sun.com
Thu May 3 10:15:01 PDT 2007
Roland Mainz writes:
> - set -- `/usr/sbin/route -n add default \
> + x=`/usr/sbin/route -n add default \
> -gateway $router`
> - [ $? -ne 0 -a "x$5" = "x$route_IP:" ] \
> + res=$?
> + set -- $x
> + [ ${res} -ne 0 -a "x$5" = "x$route_IP:" ] \
> && do_delete=no
I think that still leaves us with some mysteries, such as why the
original poster's system "works." Does he have junk in his
/etc/defaultrouter file that we just didn't previously detect?
Did something get broken in /usr/sbin/route such that it doesn't
return error codes properly?
--
James Carlson, Solaris Networking <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
More information about the ksh93-integration-discuss
mailing list