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
17a14091
Commit
17a14091
authored
Mar 08, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: improve configd reload behaviour
parent
d0aa452c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
configd
src/etc/rc.d/configd
+2
-6
No files found.
src/etc/rc.d/configd
View file @
17a14091
...
...
@@ -7,10 +7,10 @@
# KEYWORD: shutdown
#
# load standard rc
.
/etc/rc.subr
name
=
configd
pidfile
=
"/var/run/
${
name
}
.pid"
start_precmd
=
configd_prestart
start_postcmd
=
configd_poststart
...
...
@@ -73,15 +73,11 @@ configd_stop()
# cleanup after stopping configd
configd_poststop
()
{
if
[
-f
/var/run/configd.pid
]
;
then
rm
/var/run/configd.pid
fi
if
[
-f
/var/run/configd.socket
]
;
then
if
[
-S
/var/run/configd.socket
]
;
then
rm
/var/run/configd.socket
fi
}
load_rc_config
$name
configd_load_rc_config
run_rc_command
$1
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