________________________________ From: Marcelo Roccasalva <[email protected]> > I guess you want to run your script from cron (run periodically), not > from inittab (run and restart immediately if it stops)...
No, I want to run it from inittab. The sample script I sent to the ML is just a simple test script that has nothing to do with the production script I'm using. It was just for others to be able to reproduce this issue. The interesting thing is that I have the same init version on both failing and working boxes: sysvinit-2.88. I finally found a solution to my problem. I don't really know why, but it works. I changed all calls to the shorewall script so the output is redirected somewhere (in my case /dev/null). So I changed lines such as: /usr/sbin/shorewall save /usr/sbin/shorewall check to: /usr/sbin/shorewall save > /dev/null 2>&1 3>&1 /usr/sbin/shorewall check > /dev/null 2>&1 3>&1 Vieri ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
