public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: start up script
       [not found] <200302111705.21190.unix@amigo.net.gt>
@ 2003-02-12  6:35 ` Leonid Mamtchenkov
  0 siblings, 0 replies; only message in thread
From: Leonid Mamtchenkov @ 2003-02-12  6:35 UTC (permalink / raw)
  To: linux-kernel

- Luis - <unix@amigo.net.gt> wrote:
L> Hi all, i want to add a script to the start up in my Red Hat box, but i 
L> already put the file in /etc/rc.d/init.d and make the symbolic link in 
L> /etc/rc3.d/S55routetable.
L> 
L> But still doesn't work, if i run the script manually, it runs just fine, 
L> but when i restart the server i doesn't run.  

You might want to try using chkconfig(8) instead of manually creating
symlinks.

L> Basically the script is for adding some routes to my server.

You can add static routes by editing /etc/sysconfig/static-routes.  The
format of the file is 1 route definition per line.  Route definition
looks like:

eth0 net 10.5.10.0 netmask 255.255.255.0 gw 10.5.17.1

HTH.

-- 
Best regards,
  Leonid Mamtchenkov, RHCE
  System Administrator
  Francoudi & Stephanou Ltd.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-12  6:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200302111705.21190.unix@amigo.net.gt>
2003-02-12  6:35 ` start up script Leonid Mamtchenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox