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
1716ed5b
Commit
1716ed5b
authored
Mar 18, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: slightly restructure bootup and put lo0 creation back
(cherry picked from commit
b3c76778
)
parent
47b2fa13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
rc.bootup
src/etc/rc.bootup
+8
-4
No files found.
src/etc/rc.bootup
View file @
1716ed5b
...
...
@@ -73,7 +73,7 @@ system_devd_configure(true);
system_login_configure
(
true
);
/*
* Determine if we need to throw a interface exception
* Determine if we need to throw a
n
interface exception
* and ask the user to reassign interfaces. This will
* avoid a reboot and thats a good thing.
*/
...
...
@@ -82,6 +82,9 @@ if (is_interface_mismatch()) {
while
(
!
set_networking_interfaces_ports
(
true
));
}
/* loopback device is required early for syslog */
interfaces_loopback_configure
(
true
);
system_kernel_configure
(
true
);
system_sysctl_configure
(
true
);
system_timezone_configure
(
true
);
...
...
@@ -115,6 +118,10 @@ mwexec("/usr/local/etc/rc.dyndns.update"); /* XXX convert to plugin */
prefer_ipv4_or_ipv6
();
filter_configure_sync
(
true
);
/* generate configuration data for all installed templates */
configd_run
(
'template reload *'
);
/* start all registered bootup plugins */
plugins_configure
(
'bootup'
,
true
);
/* start IPsec tunnels */
...
...
@@ -135,9 +142,6 @@ if ($ipsec_dynamic_hosts) {
ipsec_configure
(
true
);
}
// generate configuration data for all installed templates
configd_run
(
'template reload *'
);
if
(
is_install_media
())
{
/*
* Installer mode requires setting up an extra user and
...
...
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