Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
36af267d
Commit
36af267d
authored
Apr 20, 2017
by
evbevz
Committed by
Franco Fichtner
Apr 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force restart radvd on TZ change; closes #1551
parent
829e0aa2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
system_general.php
src/www/system_general.php
+7
-0
No files found.
src/www/system_general.php
View file @
36af267d
...
...
@@ -133,6 +133,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
if
(
count
(
$input_errors
)
==
0
)
{
$timezone_changed
=
$config
[
'system'
][
'timezone'
]
!=
$pconfig
[
'timezone'
];
$config
[
'system'
][
'hostname'
]
=
$pconfig
[
'hostname'
];
$config
[
'system'
][
'domain'
]
=
$pconfig
[
'domain'
];
$config
[
'system'
][
'timezone'
]
=
$pconfig
[
'timezone'
];
...
...
@@ -229,6 +231,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
system_timezone_configure
();
filter_configure
();
if
(
$timezone_changed
)
{
/* services that have trouble with changing time zones */
services_radvd_configure
();
}
header
(
url_safe
(
'Location: /system_general.php?savemsg=%s'
,
array
(
get_std_save_message
(
true
))));
exit
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment