static route init script
conathan at gmail.com
Wed Dec 8 22:26:10 PST 2004
On Thu, 9 Dec 2004 16:17:31 +1100, john smith <john at smith.com> wrote:
> hello all.
> I have a LFS 4.0-RC1 system and was wondering where I should have my static
> routes setup from rather than typing "route add ...." every time I reboot.
later versions of the bootscripts allow you to setup static routes,
but not the ones you would have.
I would suggest making /etc/sysconfig/ifup-eth0 and
/etc/sysconfig/ifdown-eth0. (take a look at the ifup and ifdown
script to see how they are used).
Nathan Coulson (conathan)
nathan at linuxfromscratch org
conathan at gmail com
More information about the lfs-support