Commit f7e92beb authored by Franco Fichtner's avatar Franco Fichtner

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
parent 6c0ef526
......@@ -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";
......
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