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
7c65a076
Commit
7c65a076
authored
Nov 28, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: remove cruft, it's gone out of style
See:
https://github.com/pfsense/pfsense/commit/e93db4a1f8e
parent
68739fbb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
config.lib.inc
src/etc/inc/config.lib.inc
+0
-18
rc.bootup
src/etc/rc.bootup
+0
-1
No files found.
src/etc/inc/config.lib.inc
View file @
7c65a076
...
...
@@ -290,24 +290,6 @@ function cleanup_backups()
}
}
function
set_device_perms
()
{
$devices
=
array
(
'pf'
=>
array
(
'user'
=>
'root'
,
'group'
=>
'proxy'
,
'mode'
=>
0660
),
);
foreach
(
$devices
as
$name
=>
$attr
)
{
$path
=
"/dev/
$name
"
;
if
(
file_exists
(
$path
))
{
chown
(
$path
,
$attr
[
'user'
]);
chgrp
(
$path
,
$attr
[
'group'
]);
chmod
(
$path
,
$attr
[
'mode'
]);
}
}
}
function
make_config_revision_entry
(
$desc
=
''
)
{
global
$config
;
...
...
src/etc/rc.bootup
View file @
7c65a076
...
...
@@ -61,7 +61,6 @@ echo "Starting device manager (devd)...";
system_console_mute
();
exec
(
'/sbin/devd'
);
sleep
(
1
);
set_device_perms
();
system_console_unmute
();
echo
"done.
\n
"
;
...
...
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