On 8 April 2013 20:25, Chris Walker cdw_alug@the-walker-household.co.uk wrote:
So I need to work out where to put it so that it runs but runs safely.
I think that the location looks OK, so I think it's the script that needs tweaking (albeit that it works fine if run manually).
Can you post the script content? I assume it's similar to the lines in the original post with something like #!/bin/bash at the top but assumptions aren't great when troubleshooting!
Also, the output from: ls -la /etc/sysconfig/network-scripts/ifup.d/rpc_tables_up .. to confirm ownership and permissions.
When you run it manually (and it works), are you just doing: sudo /etc/sysconfig/network-scripts/ifup.d/rpc_tables_up or something different?