From 8c5b659410a252f726eeafcda366015193db0943 Mon Sep 17 00:00:00 2001 From: Tom Schaefer Date: Wed, 29 Sep 2010 04:45:25 -0400 Subject: Version 1.5 added if selection, nano functions, and sp fix --- config/countryblock/countryblock.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/countryblock/countryblock.inc') diff --git a/config/countryblock/countryblock.inc b/config/countryblock/countryblock.inc index 7cab6c1d..e716f25b 100644 --- a/config/countryblock/countryblock.inc +++ b/config/countryblock/countryblock.inc @@ -59,8 +59,12 @@ function php_install_command_cb() //rename PHP files from .tmp to .php exec("cp /tmp/countryblock.tmp /usr/local/www/packages/countryblock/countryblock.php"); unlink_if_exists("/tmp/countryblock.tmp"); + exec("cp /tmp/countryblock_if.tmp /usr/local/www/packages/countryblock/countryblock_if.php"); + unlink_if_exists("/tmp/countryblock_if.tmp"); exec("cp /tmp/index.tmp /usr/local/www/packages/countryblock/index.php"); unlink_if_exists("/tmp/index.tmp"); + exec("cp /tmp/firewall_shaper.tmp /usr/local/www/packages/countryblock/firewall_shaper.php"); + unlink_if_exists("/tmp/firewall_shaper.tmp"); //Get scripts exec("cp /tmp/countryblock.sh /usr/local/etc/rc.d/countryblock.sh"); unlink_if_exists("/tmp/countryblock.sh"); -- cgit v1.2.3