Révision 4e6b0a0e
Ajouté par nagyrobi il y a presque 10 ans
usr/local/www/services_ntpd.php | ||
---|---|---|
83 | 83 |
if (!empty($_POST["servselect{$i}"])) $config['ntpd']['noselect'].= "{$tserver} "; |
84 | 84 |
} |
85 | 85 |
} |
86 |
if (trim($timeservers) == "") |
|
87 |
$timeservers = "pool.ntp.org"; |
|
86 | 88 |
$config['system']['timeservers'] = trim($timeservers); |
87 | 89 |
|
88 | 90 |
if (!empty($_POST['ntporphan']) && ($_POST['ntporphan'] < 17) && ($_POST['ntporphan'] != '12')) |
Formats disponibles : Unified diff
Update services_ntpd.php
Add validation for the case of no server specified, fall back to pool.ntp.org