Hi! ----
Requesting sponsor for CR #6551714 ("/lib/svc/method/net-routing-setup doesn't get along with ksh93=/sbin/sh"). The prototype patch v2 is attached as lib_svc_method_routing_setup_posix002.diff.txt ... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) -------------- next part -------------- --- /lib/svc/method/net-routing-setup.orig Thu May 3 18:59:52 2007 +++ /lib/svc/method/net-routing-setup Thu May 3 18:59:52 2007 @@ -136,9 +136,11 @@ # do_delete=yes for router in $defrouters; do - set -- `/usr/sbin/route -n add default \ + route_added=`/usr/sbin/route -n add default \ -gateway $router` - [ $? -ne 0 -a "x$5" = "x$route_IP:" ] \ + res=$? + set -- ${route_added} + [ ${res} -ne 0 -a "x$5" = "x$route_IP:" ] \ && do_delete=no done