summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-27 13:03:42 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-27 13:03:42 +0000
commit603b690ce3ba42bce54241660f5287818dbbc3d9 (patch)
treeb83f8419f7c7c9d0be5d87cadca5ee453ac804b6 /bin
parent4b694cf3a2e6d6ca30d0d159e927f812e2f589d5 (diff)
downloaddrakguard-603b690ce3ba42bce54241660f5287818dbbc3d9.tar
drakguard-603b690ce3ba42bce54241660f5287818dbbc3d9.tar.gz
drakguard-603b690ce3ba42bce54241660f5287818dbbc3d9.tar.bz2
drakguard-603b690ce3ba42bce54241660f5287818dbbc3d9.tar.xz
drakguard-603b690ce3ba42bce54241660f5287818dbbc3d9.zip
reload shorewall config if it has just been installed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakguard2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 3f47167..8552b69 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -232,6 +232,8 @@ sub save() {
$_->{apply}(map { $_->[0] } @{$_->{list}{data}}) foreach @url_lists;
write_dansguardian();
enable_transparent_proxy($proxy_port);
+ #- reload shorewall config if it has just been installed
+ $shorewall ||= network::shorewall::read();
}
services::set_status($_, $enable) foreach qw(squid dansguardian);