Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148435120
D4156.id10744.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
802 B
Referenced Files
None
Subscribers
None
D4156.id10744.diff
View Options
Index: head/etc/rc.subr
===================================================================
--- head/etc/rc.subr
+++ head/etc/rc.subr
@@ -976,6 +976,14 @@
fi
fi
+ if [ $rc_arg = "start" -a -z "$rc_fast" -a -n "$rc_pid" ]; then
+ if [ -z "$rc_quiet" ]; then
+ echo 1>&2 "${name} already running? " \
+ "(pid=$rc_pid)."
+ fi
+ return 1
+ fi
+
# if there's a custom ${XXX_cmd},
# run that instead of the default
#
@@ -1004,14 +1012,6 @@
;;
start)
- if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
- if [ -z "$rc_quiet" ]; then
- echo 1>&2 "${name} already running? " \
- "(pid=$rc_pid)."
- fi
- return 1
- fi
-
if [ ! -x "${_chroot}${_chroot:+/}${command}" ]; then
warn "run_rc_command: cannot run $command"
return 1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 8:53 PM (4 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29925815
Default Alt Text
D4156.id10744.diff (802 B)
Attached To
Mode
D4156: Check for running daemons before a custom start_cmd is executed
Attached
Detach File
Event Timeline
Log In to Comment