Making a static route permanent

Hi

Can anyone help please ....

I've added a static route to an interface card using this syntax :

# route add -host 10.141.90.7 10.221.54.5 0

In order to make this permanent (ie survive reboots) is it simply a case a creating a file called maybe :

/etc/rc2.d/s99make_static_route

and adding the syntax above to it ?

Many thanks

[384 byte] By [bazzagazza] at [2007-11-25 22:52:06]
# 1
That should work, but note that you must use an upper case 'S':/etc/rc2.d/S99make_static_route
jkeil at 2007-7-5 17:07:34 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...