diff options
author | LostInIgnorance <LostInIgnorance@gmail.com> | 2011-07-29 22:14:45 -0500 |
---|---|---|
committer | LostInIgnorance <LostInIgnorance@gmail.com> | 2011-07-29 22:14:45 -0500 |
commit | 3a83bf60de4e2f2294570b1682c517d4a818bf2b (patch) | |
tree | 89d75304b013d797bc39577648ddf15b4f86b0e1 /config/havp | |
parent | 7a5feaaebb67f6c54695b24bdf4541a3727508e2 (diff) | |
download | pfsense-packages-3a83bf60de4e2f2294570b1682c517d4a818bf2b.tar.gz pfsense-packages-3a83bf60de4e2f2294570b1682c517d4a818bf2b.tar.bz2 pfsense-packages-3a83bf60de4e2f2294570b1682c517d4a818bf2b.zip |
Changed to reflect YYYY.MM.DD
Diffstat (limited to 'config/havp')
-rw-r--r-- | config/havp/havp.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config/havp/havp.inc b/config/havp/havp.inc index 2d79a4ce..5b420d21 100644 --- a/config/havp/havp.inc +++ b/config/havp/havp.inc @@ -173,7 +173,7 @@ define('F_AVSETLOG', 'avsetlog'); define('F_TEMPLATEPATH', 'templatepath'); # internal var # file scanner [HVFORM_FSCAN] define('F_SCANFILEPATH', 'scanfilepath'); -# ïîêà íåïîíÿòíî ÷òî ýòî è ÷òî ñ íèì äåëàòü +# ���� ��������� ��� ��� � ��� � ��� ������ define('F_DISABLEXFORWARD', 'disablexforward'); # + forwarded ip define('F_FORWARDEDIP', 'forwardedip'); @@ -915,8 +915,8 @@ function havp_config_freshclam() $conf[] = "Checks $chks"; $conf[] = "# notification"; - $conf[] = "OnUpdateExecute date \"+%d-%m-%Y %H:%M:%S Antivirus update success\" > " . HVDEF_FRESHCLAM_STATUS_FILE; - $conf[] = "OnErrorExecute date \"+%d-%m-%Y %H:%M:%S Antivirus update error\" > " . HVDEF_FRESHCLAM_STATUS_FILE; + $conf[] = "OnUpdateExecute date \"+%Y.%m.%d %H:%M:%S Antivirus update success\" > " . HVDEF_FRESHCLAM_STATUS_FILE; + $conf[] = "OnErrorExecute date \"+%Y.%m.%d %H:%M:%S Antivirus update error\" > " . HVDEF_FRESHCLAM_STATUS_FILE; $conf[] = "Debug " . (HV_DEBUG === 'true' ? "yes" : "no"); @@ -1270,15 +1270,15 @@ $f = HVDEF_UPD_STATUS_FILE; $u = HVDEF_FRESHCLAM_STATUS_FILE; return <<<EOD #!/bin/sh -date +"%d.%m.%Y %H:%M:%S Antivirus update started." > $f -date +"%d.%m.%Y %H:%M:%S Antivirus database already is updated." > $u +date +"%Y.%m.%d %H:%M:%S Antivirus update started." > $f +date +"%Y.%m.%d %H:%M:%S Antivirus database already is updated." > $u /usr/local/bin/freshclam wait cat $u >> $f /usr/local/bin/sigtool --unpack-current daily.cvd /usr/local/bin/sigtool --unpack-current main.cvd wait -date +"%d.%m.%Y %H:%M:%S Antivirus update end." >> $f +date +"%Y.%m.%d %H:%M:%S Antivirus update end." >> $f EOD; } @@ -1526,7 +1526,7 @@ function start_antivirus_scanner($filename) file_put_contents(HVDEF_CLAMSCAN_LOG, $cont); mwexec_bg("$param"); - exec("date +\"%d.%m.%Y %H:%M:%S Starting scan file '$filename'.\" > " . HVDEF_CLAMSCAN_LOG); + exec("date +\"%Y.%m.%d %H:%M:%S Starting scan file '$filename'.\" > " . HVDEF_CLAMSCAN_LOG); } else log_error("Antivirus: Can't starting file scanner. File '$filename' not exists."); } |