diff options
author | Perry Mason <crazypark2@yahoo.dk> | 2009-04-18 14:08:18 +0200 |
---|---|---|
committer | Perry Mason <crazypark2@yahoo.dk> | 2009-04-18 14:08:18 +0200 |
commit | 1198dc2d903e7eb684c3994bff9a17b4e8dbbfea (patch) | |
tree | bf1a94da2ae9d9aa878ae274859f3f8a601d019b /config | |
parent | eb6d763db35691fc28d4214013029f4f4b5c37b6 (diff) | |
download | pfsense-packages-1198dc2d903e7eb684c3994bff9a17b4e8dbbfea.tar.gz pfsense-packages-1198dc2d903e7eb684c3994bff9a17b4e8dbbfea.tar.bz2 pfsense-packages-1198dc2d903e7eb684c3994bff9a17b4e8dbbfea.zip |
wrong afc path and logging added to reset states script
Diffstat (limited to 'config')
-rw-r--r-- | config/Fit123/bin/afc/reset_states.sh | 2 | ||||
-rw-r--r-- | config/Fit123/fit123.inc | 2 |
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'] = ""; |