-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2010-02-14 at 12:59 +0800, Wong wrote:
I tried to put the script file into ~/init.d/after.local either at the top or the bottom of after.local. All daemons became unloaded to system including iptables script.
That's impossible, one script can not unload the rest. You must be doing something else.
Hi Carlos,
Perhaps my knowledge limitation cannot explain it why, but it is truly happen. It is a mystery for me.
It is rather a language barrier, I'm afraid.
To avoid misunderstanding, the others were not loaded then unloaded. But it was not started by after.local if I put the script or loaded from external file.
I wish I could have the script and put in to a file and loaded by after.local. It will be more organized.
Now that I think, that code can not be written into after.local, or the system will "think" that the init scripts failed. All those scripts must exit sucessfully, you can not leave one working in a loop. Yo have to call another script in background from after.local and exit. I would create a new service to load just after "/etc/init.d/network", kind of "networkwatchdog" which would in turn start/kill another script running the loop. - -- Cheers. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkt3+KMACgkQtTMYHG2NR9XmAACfWVZhBID91K6C2+E9PPjkO5iZ mkQAn2sqLxGV2VwBnZ9eIsO8Ot/E10Dq =dTGh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org