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
2bc0ea0f
Commit
2bc0ea0f
authored
Oct 24, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: chase a race condition during +POST_INSTALL run
parent
909f2b13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
rc.configure_firmware
src/etc/rc.configure_firmware
+4
-0
rc.reload_all
src/etc/rc.reload_all
+2
-1
No files found.
src/etc/rc.configure_firmware
View file @
2bc0ea0f
...
...
@@ -27,6 +27,10 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/* there seems to be a race with unpacking files */
shell_exec
(
'/bin/sync'
);
/* abort in case of no valid config for image install */
if
(
!
file_exists
(
'/conf/config.xml'
))
{
exit
(
0
);
}
...
...
src/etc/rc.reload_all
View file @
2bc0ea0f
...
...
@@ -44,8 +44,9 @@ $config = parse_config();
log_error
(
"rc.reload_all: Reloading all configuration settings."
);
system_timezone_configure
();
system_firmware_configure
();
system_console_configure
();
system_timezone_configure
();
system_hostname_configure
();
system_hosts_generate
();
services_dhcpleases_configure
();
...
...
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