freebsd-dev/etc
Jilles Tjoelker 80fe6bcf09 rc.subr: Check for running daemons before a custom start_cmd is executed.
Currently rc scripts implementing their own start_cmd do not enjoy the
benefits of rc.subr's own check for rc_pid.

This leads to around a third of ports with such a start_cmd not to check for
the process at all and two thirds of ports to re-implement this check
(sometimes wrongly).

This patch moves the check for rc_pid to before ${rc_arg}_cmd is executed.

Submitted by:	Dirk Engling
Reviewed by:	feld
MFC after:	1 week
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D4156
2015-12-04 16:32:29 +00:00
..
autofs Make the autofs LDAP script cope with server returning entries with 2015-03-21 09:42:37 +00:00
bluetooth
casper
defaults Add support for the new "-manage-gids" option for the nfsuserd daemon 2015-11-30 22:29:11 +00:00
devd Regenerate usb.conf . 2015-12-03 16:54:45 +00:00
etc.aarch64 Update the arm64 ttys file to enable the correct uart based on which device 2015-10-01 09:36:18 +00:00
etc.amd64 Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.arm Enable ttyu1, ttyu2, ttyu3 for arm installations. 2015-06-21 19:50:02 +00:00
etc.i386 Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.mips Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.pc98 Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.powerpc Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.sparc64 Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
gss
mail Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
mtree Add lib80211 to include path. 2015-11-30 04:59:01 +00:00
newsyslog.conf.d META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
ntp Add default leap-seconds file. This should help ntp networks get the 2015-10-16 14:04:16 +00:00
pam.d Honor MK_ACCT with etc/pam.d/atrun 2015-01-26 08:50:12 +00:00
periodic Allow admins to specify a regex which is applied (in the negative) to the 2015-11-13 06:20:27 +00:00
pkg Give hint on how to disable the default repository. 2014-03-30 15:24:17 +00:00
rc.d Modify the rctl rc script to add multiple rules in a single run. 2015-12-01 16:42:39 +00:00
root Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
sendmail If world is built with a custom sendmail.cf, use it for the distribution 2015-10-12 21:02:36 +00:00
amd.map
apmd.conf
auto_master Add -noauto autofs map, for automatic handling of fstab entries 2015-03-13 12:44:46 +00:00
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf Add iwm(4), that was missing in r287394. 2015-09-02 14:38:16 +00:00
devfs.conf
dhclient.conf
disktab
fbtab
freebsd-update.conf
ftpusers
gettytab Add 3wire and std as terminal types/classes. These are similar to 2014-03-09 20:51:14 +00:00
group Add a new group named 'video' with the id of 44. And make drm create 2015-08-09 12:58:56 +00:00
hosts
hosts.allow Allow info to display correctly in for varying tabstop settings 2014-12-24 01:50:44 +00:00
hosts.equiv
hosts.lpd
inetd.conf - Add IPv6 support in quota(1). While rpc.rquotad has supported PF_INET6 2015-07-07 20:15:09 +00:00
libalias.conf
libmap.conf
login.access
login.conf Stop enforcing LC_COLLATE to C unicode collation is now supported 2015-11-07 12:50:20 +00:00
mac.conf
Makefile Revert r290840 2015-12-01 06:22:27 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
man.alias
master.passwd Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
minfree
motd Add the less-ambiguous freebsd-version command. 2014-11-02 19:25:31 +00:00
netconfig
netstart Loading rc.subr and rc.conf has no effect since all we do is run other 2015-10-26 15:14:16 +00:00
network.subr Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
networks
newsyslog.conf - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by 2014-05-20 03:00:20 +00:00
nls.alias
nscd.conf
nsmb.conf Remove IPX support. 2014-03-14 02:58:48 +00:00
nsswitch.conf
ntp.conf Add default leap-seconds file. This should help ntp networks get the 2015-10-16 14:04:16 +00:00
opieaccess
pccard_ether Fix dynamic attach/detach of 802.11 devices after r287197: 2015-09-02 12:46:42 +00:00
pf.os
phones
portsnap.conf Disable building INDEX-9 and INDEX-10 because they are not useful for 2015-08-11 22:43:28 +00:00
printcap
profile
protocols
rc The early-late divider was originally set to mountcritlocal. Since that 2014-12-01 12:29:59 +00:00
rc.bsdextended
rc.firewall Slight tidy up of comments before MFC 2015-06-29 07:43:09 +00:00
rc.initdiskless
rc.resume
rc.sendmail
rc.shutdown Since r275359, there is no need to provide a bogus service name. 2015-10-26 15:16:27 +00:00
rc.subr rc.subr: Check for running daemons before a custom start_cmd is executed. 2015-12-04 16:32:29 +00:00
rc.suspend
regdomain.xml
remote
rpc
services Add CouchDB ports (5984 TCP/UDP). 2015-06-29 15:38:34 +00:00
shells
snmpd.config Adds the bsnmp module to export the temperature data from lm75 sensors on 2014-06-01 03:14:03 +00:00
sysctl.conf
syslog.conf
termcap.small