Mailinglist Archive: opensuse (1231 mails)

< Previous Next >
[opensuse] Re: Static Routes
carnold5@xxxxxxxxx wrote:

ip route add dev eth1 src table T2
ip route add default via dev eth1 src table T2
ip rule add from table T2

Is this the right way to write this script for this situation? Does the script
contain the right info (like init info section)? Where do i put this file so it
runs at boot, in /etc/init.d or a /etc/rc.d folder?
I'm not the person to ask about starting scripts with the new systemd method. With the old svsv method, it was easy to run a script by including it in the after.local script. However, if those commands work manually, then they should work in a script. Try manually running the script and if it works, have it start automatically during boot.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages