From 1198dc2d903e7eb684c3994bff9a17b4e8dbbfea Mon Sep 17 00:00:00 2001 From: Perry Mason Date: Sat, 18 Apr 2009 14:08:18 +0200 Subject: wrong afc path and logging added to reset states script --- config/Fit123/bin/afc/reset_states.sh | 2 ++ config/Fit123/fit123.inc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'config/Fit123') 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'] = ""; -- cgit v1.2.3