etc/rc.subr rc_pid for start_cmd

Dirk Engling erdgeist at erdgeist.org
Tue Nov 3 23:35:20 UTC 2015


> The original idea was to skip the "already running" checks while booting
> the system since they are quite slow, and to perform them when a manual
> service FOO start is done.

Isn't this what the -z "$rc_fast" is for?

>> if  [ $rc_arg = "start" -a -z "$rc_fast" -a -n "$rc_pid" ]; then
>>   if [ -z "$rc_quiet" ]; then

  erdgeist


More information about the freebsd-rc mailing list