
Paul, On Thu, Nov 20, 2008 at 1:09 PM, Paul Zirnik <tami@disconnected.de> wrote:
I recommend creating a seperate init.d script. This makes it easier when you need restarting/reloading the pppd stuff
I was thinking of dealing with that using 'case' statements and additional arguments (e.g. $2 = 'pppoe'), but this is probably simpler.
(if you have static ip's you do not need to restart the iptables stuff for example)
I do have static IPs, so this may be relevant. What happens if iptables is depending on the external interface == "pppoe", but then pppd is restarted? During that time, does iptables have any issues/problems?
When you followed the instructions from /etc/init.d/skeleton (Required-Start/ Required-Stop is importand) everything should be ok, even when you install /uninstall later other services that provide there own start/stop scripts.
So placing the "ppoed" service-name in the iptables scripts' Required-Start/Required-Stop, correct? If that's good enough, and the dependencies are properly setup using Required-Start/Required-Stop, does it matter at all as to the order-by-name in the init.d directory? E.g. S05network, S06myppp, then S07myiptables? Thanks. --JC -- To unsubscribe, e-mail: opensuse-networking+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-networking+help@opensuse.org