aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/Fit123/bin/afc/reset_states.sh2
-rw-r--r--config/Fit123/fit123.inc2
2 files changed, 3 insertions, 1 deletions
diff --git a/config/Fit123/bin/afc/reset_states.sh b/config/Fit123/bin/afc/reset_states.sh
index e0d0d48b..4a7eb7e7 100644
--- a/config/Fit123/bin/afc/reset_states.sh
+++ b/config/Fit123/bin/afc/reset_states.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+echo "Runnig the After Filter Change reset_states script" | logger
sleep 60
/sbin/pfctl -F state
sleep 40
/sbin/pfctl -F state
+echo "States has been reset" | logger
diff --git a/config/Fit123/fit123.inc b/config/Fit123/fit123.inc
index 646ab65f..f40c7753 100644
--- a/config/Fit123/fit123.inc
+++ b/config/Fit123/fit123.inc
@@ -93,7 +93,7 @@ global $config;
$afc = $config['installedpackages']['fit123']['config'][0]['afc'];
if($afc)
- $config['system']['afterfilterchangeshellcmd'] = "/usr/local/bin/reset_states.sh";
+ $config['system']['afterfilterchangeshellcmd'] = "/usr/local/pkg/Fit123/afc/reset_states.sh";
else
$config['system']['afterfilterchangeshellcmd'] = "";