Commit 0b558af2 authored by Franco Fichtner's avatar Franco Fichtner

system: shuffle more features and bring back ETC zones

PR: https://forum.opnsense.org/index.php?topic=3004
(cherry picked from commit d8f5a12d)
parent 11b19fab
......@@ -278,7 +278,16 @@ function get_firmware_flavours()
function get_zoneinfo()
{
return timezone_identifiers_list(DateTimeZone::ALL ^ DateTimeZone::UTC);
$zones = timezone_identifiers_list(DateTimeZone::ALL ^ DateTimeZone::UTC);
$etcs = glob('/usr/share/zoneinfo/Etc/*');
foreach ($etcs as $etc) {
$zones[] = ltrim($etc, '/usr/share/zoneinfo/');
}
natsort($zones);
return $zones;
}
function get_searchdomains()
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment