summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDerek Jennings <djennings@mageia.org>2013-06-25 12:55:51 +0000
committerColin Guthrie <colin@mageia.org>2013-08-24 18:29:42 +0100
commit6350ecad75f8b57a712662b72b803fe161d4e553 (patch)
tree3c92cd29330ff27127cd39352f73d445bde57e8a /bin
parent1eabb6f97169e010b976458fa08a9bc4f2c0e40e (diff)
downloaddrakguard-6350ecad75f8b57a712662b72b803fe161d4e553.tar
drakguard-6350ecad75f8b57a712662b72b803fe161d4e553.tar.gz
drakguard-6350ecad75f8b57a712662b72b803fe161d4e553.tar.bz2
drakguard-6350ecad75f8b57a712662b72b803fe161d4e553.tar.xz
drakguard-6350ecad75f8b57a712662b72b803fe161d4e553.zip
Use --kerneltz option to select local time zone (mga#6400)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakguard2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/drakguard b/bin/drakguard
index b4f9a2a..f1d3776 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -434,7 +434,7 @@ sub save() {
join('', map {
my $chain = $_;
map {
- sprintf("iptables -I $chain -j DROP -m time --timestart %02d:%02d --timestop %02d:%02d\n",
+ sprintf("iptables -I $chain -j DROP -m time --timestart %02d:%02d --timestop %02d:%02d --kerneltz\n",
int($_->[0]/60), $_->[0]%60,
int($_->[1]/60), $_->[1]%60,
);