mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
system: crash report, sometimes even Etc/UTC is gone
In those cases the next firmware update with a base set helps, or
running this manually:
# opnsense-update -fb
This commit is contained in:
parent
6c0ef526da
commit
f7e92bebae
@ -1380,7 +1380,9 @@ function system_timezone_configure($verbose = false)
|
||||
}
|
||||
|
||||
/* apply timezone */
|
||||
copy(sprintf('/usr/share/zoneinfo/%s', $timezone), '/etc/localtime');
|
||||
if (file_exists(sprintf('/usr/share/zoneinfo/%s', $timezone))) {
|
||||
copy(sprintf('/usr/share/zoneinfo/%s', $timezone), '/etc/localtime');
|
||||
}
|
||||
|
||||
if ($verbose) {
|
||||
echo "done.\n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user