Page 1 of 1

csfpre.sh doesn't seem to run upgrade

Posted: 12 Apr 2014, 11:57
by smallfrog_99
Hello,

It seems every time CSF upgrades to the latest version csfpre .sh is not run after the upgrade when csf restarts.

I have some extra rules and have to manually restart the firewall after an upgrade to re-enable these rules. This happens on 2 systems with Centos 5.10 (+ cPanel VPS) & Centos 6.5 (+ cPanel DNS only).

Thanks,

Chris

Re: csfpre.sh doesn't seem to run upgrade

Posted: 14 Apr 2014, 16:03
by ForumAdmin
That suggests that you have not used the full path to binaries within the file as explained in the readme.txt file.

Re: csfpre.sh doesn't seem to run upgrade

Posted: 14 Apr 2014, 19:33
by smallfrog_99
OK, thanks. You are right, I've now changed them all to "/sbin/iptables ...". Strangely it ran fine on the 6.48 upgrade - .sh file changed anyway.

Chris