csfpre.sh doesn't seem to run upgrade

Post Reply
smallfrog_99
Junior Member
Posts: 4
Joined: 24 Oct 2012, 10:09

csfpre.sh doesn't seem to run upgrade

Post 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
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

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

Post by ForumAdmin »

That suggests that you have not used the full path to binaries within the file as explained in the readme.txt file.
smallfrog_99
Junior Member
Posts: 4
Joined: 24 Oct 2012, 10:09

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

Post 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
Post Reply