diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-27 13:03:42 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-27 13:03:42 +0000 |
commit | 603b690ce3ba42bce54241660f5287818dbbc3d9 (patch) | |
tree | b83f8419f7c7c9d0be5d87cadca5ee453ac804b6 | |
parent | 4b694cf3a2e6d6ca30d0d159e927f812e2f589d5 (diff) | |
download | drakguard-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
-rwxr-xr-x | bin/drakguard | 2 |
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); |