freebsd-skq/etc
jilles 24858cf7bb 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 Please welcome casperd daemon. It (and its services) will be responsible for 2013-12-02 08:21:28 +00:00
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 Remove remnants of BIND from /etc, since there is no BIND in base now. 2013-11-05 09:30:06 +00:00
ftpusers Remove most of the ATF tools and the _atf user. 2013-10-12 06:06:53 +00:00
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 Include /usr/local/etc/libmap.d/ by default. 2013-08-01 05:50:42 +00:00
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 Add DragonFly BSD fingerprints to pf.os 2013-12-03 04:32:02 +00:00
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 Bring /etc/protocols up to date. 2013-05-10 13:57:44 +00:00
rc Merge ^/head r275262 through r275363. 2014-12-01 13:14:39 +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 wpa_supplicant should be able to reassociate when resuming, so remove a 2013-07-04 07:32:40 +00:00
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 sbin/devd/devd.cc 2013-12-13 22:58:57 +00:00
termcap.small