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
67a3a7e8
Commit
67a3a7e8
authored
May 02, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: load required kernel modules
parent
73be890c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
pfsense-utils.inc
src/etc/inc/pfsense-utils.inc
+11
-0
rc.bootup
src/etc/rc.bootup
+3
-0
No files found.
src/etc/inc/pfsense-utils.inc
View file @
67a3a7e8
...
@@ -352,6 +352,17 @@ function is_fqdn($fqdn) {
...
@@ -352,6 +352,17 @@ function is_fqdn($fqdn) {
return
(
$hostname
);
return
(
$hostname
);
}
}
function
load_kernel_module
()
{
$mods
=
array
(
'carp'
,
);
foreach
(
$mods
as
$mod
)
{
mwexecf
(
'/sbin/kldload %s'
,
$mod
);
}
}
function
load_crypto_module
()
function
load_crypto_module
()
{
{
global
$config
;
global
$config
;
...
...
src/etc/rc.bootup
View file @
67a3a7e8
...
@@ -195,6 +195,9 @@ if (is_interface_mismatch()) {
...
@@ -195,6 +195,9 @@ if (is_interface_mismatch()) {
led_kitt
();
led_kitt
();
}
}
/* load extra modules not in GENERIC */
load_kernel_module
();
/* enable optional crypto modules */
/* enable optional crypto modules */
load_crypto_module
();
load_crypto_module
();
...
...
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