mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 09:24:12 +01:00
17 lines
303 B
PHP
17 lines
303 B
PHP
<?php
|
|
|
|
require_once 'ykval-synclib.php';
|
|
require_once 'ykval-config.php';
|
|
|
|
$sl = new SyncLib();
|
|
|
|
$resync = $baseParams['__YKVAL_SYNC_INTERVAL__'];
|
|
# Loop forever and resync
|
|
|
|
while (True) {
|
|
$sl->reSync($baseParams['__YKVAL_SYNC_OLD_LIMIT__']);
|
|
|
|
sleep($baseParams['__YKVAL_SYNC_INTERVAL__']);
|
|
}
|
|
|
|
?>
|