outgoingfw: Use local timezone for time rules.

See bug #10305:
  https://bugzilla.ipfire.org/show_bug.cgi?id=10305
This commit is contained in:
Michael Tremer
2013-03-04 15:08:29 +01:00
parent 02a1142a81
commit 21ef1f15f6
2 changed files with 2 additions and 1 deletions

View File

@@ -214,7 +214,7 @@ foreach $configentry (sort @configs)
if ($configline[14]){$DAY .= "Fri,"}
if ($configline[15]){$DAY .= "Sat,"}
if ($configline[16]){$DAY .= "Sun"}
$CMD = "$CMD -m time --timestart $configline[17] --timestop $configline[18] --weekdays $DAY";
$CMD = "$CMD -m time --kerneltz --timestart $configline[17] --timestop $configline[18] --weekdays $DAY";
}
$CMD = "$CMD -o $netsettings{'RED_DEV'}";

View File

@@ -9,3 +9,4 @@ srv/web/ipfire/html/images/updbooster/updxl-src-microsoft.gif
srv/web/ipfire/html/images/updbooster/updxl-src-windows.gif
usr/sbin/updxlrator
var/ipfire/langs
var/ipfire/outgoing/bin/outgoingfw.pl