Friday, September 02, 2005

route in Sun 10

Subject: SUMMARY: route in Sun 10

Thanks to all those who replied..

To make a permanant route one can use the follwing.
1. use file /etc/init.d/inetsvc OR make a script in /etc/rc2.d with the route
content like:

#S67static-route file
# static route table for
echo " Setting static routes "
route add -netmask > /dev/console
echo " Done with setting static routes "

Some people also have suggested
/etc/default/inetinit to put the route, but not tested.

For second question, one should use
pkgchk -l -p /path/to/file

Or alternatively

grep FILENAME /var/sadm/install/contents


Post a Comment

<< Home