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
77d83631
Commit
77d83631
authored
Mar 14, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force exit of stray processes
parent
80eba3c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
configd
src/etc/rc.d/configd
+6
-4
No files found.
src/etc/rc.d/configd
View file @
77d83631
...
@@ -63,10 +63,12 @@ configd_stop()
...
@@ -63,10 +63,12 @@ configd_stop()
sleep
0.1
sleep
0.1
done
done
# kill if it's still running
# kill any remaining configd processes (if still running)
if
[
!
-z
"
`
/bin/ps
-ex
| /usr/bin/awk
'{print $1;}'
| /usr/bin/grep
"^
${
rc_pid
}
"
`
"
]
;
then
for
configd_pid
in
`
/bin/ps
-ex
|
grep
'configd.py'
| /usr/bin/awk
'{print $1;}'
`
kill
-9
${
rc_pid
}
do
fi
kill
-9
$configd_pid
>
/dev/null 2>&1
done
echo
"..done"
echo
"..done"
}
}
...
...
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