freebsd-src/etc
Jilles Tjoelker 8cb6535176 MFC r291770: 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
Relnotes:	yes
2015-12-18 19:58:34 +00:00
..
autofs MFC r279955: 2015-05-21 13:42:37 +00:00
bluetooth
defaults MFC: r291536 2015-12-14 23:09:02 +00:00
devd MFC r291703: 2015-12-14 09:52:15 +00:00
etc.amd64 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.arm MFC r284683: 2015-06-24 18:58:42 +00:00
etc.i386 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.ia64 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.mips MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.pc98 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.powerpc MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.sparc64 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
gss
mail Merge a number of changes required to hook up OpenBSM 1.2-alpha2's 2012-12-01 15:11:46 +00:00
mtree MFC r276669,r276723: 2015-12-15 18:09:03 +00:00
newsyslog.conf.d MFC r277541: 2015-02-02 09:24:40 +00:00
pam.d Merge r270677 from head: 2014-09-03 23:18:13 +00:00
periodic MFC r289393: 2015-12-04 18:14:31 +00:00
pkg MFC r263937: 2014-03-30 15:29:54 +00:00
ppp
rc.d MFC: r291536 2015-12-14 23:09:02 +00:00
root Remove hack to emulate effective uid and just use the EUID's name in the 2012-12-05 13:56:39 +00:00
sendmail MFC: Minor changes to force commit these files so new freebsd*.cf files 2015-07-09 05:25:47 +00:00
amd.map
apmd.conf
auto_master MFC r279955: 2015-05-21 13:42:37 +00:00
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf MFC r285675: 2015-08-02 09:39:41 +00:00
devfs.conf Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been 2011-10-27 20:39:20 +00:00
dhclient.conf
disktab 10 years too late add support for "2.88MB 3.5in Extra High Density" 2012-11-02 00:17:30 +00:00
fbtab
freebsd-update.conf Merge r257694 from head: 2013-11-14 09:14:33 +00:00
ftpusers MFC 256365 2013-10-12 06:08:18 +00:00
gettytab MFC r262955: 2015-06-04 01:52:17 +00:00
group MFC 256365 2013-10-12 06:08:18 +00:00
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf MFC r285253 (hrs): 2015-07-20 21:52:05 +00:00
libalias.conf
libmap32.conf Remove unneeded mappings from libmap32.conf. Move it up one level and 2013-09-09 06:02:30 +00:00
libmap.conf Include /usr/local/etc/libmap.d/ by default. 2013-08-01 05:50:42 +00:00
login.access
login.conf Increase the "memorylocked" limit for the "daemon" class. 2013-01-27 21:55:01 +00:00
mac.conf Spelling fixes for etc/ 2012-01-07 16:10:32 +00:00
Makefile MFC r290083: 2015-12-04 18:21:05 +00:00
man.alias
master.passwd MFC 256365 2013-10-12 06:08:18 +00:00
minfree
motd MFC r273985: 2014-11-05 04:25:23 +00:00
netconfig
netstart MFH (r256875): start rtsold if necessary 2014-02-27 13:19:17 +00:00
network.subr MFC r278933: 2015-02-26 19:56:48 +00:00
networks
newsyslog.conf MFC r266463: 2014-06-05 15:21:25 +00:00
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf Revert r224760, and enhance the sed patterns from r224659 to comment out 2011-08-10 20:52:02 +00:00
ntp.conf MFC r280849,280915-280916,281015-281016,282097,282408,282415,283542, 2015-07-15 19:21:26 +00:00
opieaccess
pccard_ether Not only load pccard_ether settings, also load network settings. This 2012-11-08 20:34:12 +00:00
pf.os Sync pf.os with OpenBSD: 2012-12-10 20:52:52 +00:00
phones
portsnap.conf MFC r286375: 2015-08-06 19:45:25 +00:00
printcap
profile
protocols Bring /etc/protocols up to date. 2013-05-10 13:57:44 +00:00
rc MFC r258894: Make rc(8) re-source rc.conf upon receipt of SIGALRM. 2013-12-06 20:48:53 +00:00
rc.bsdextended
rc.firewall MFH: r284691 2015-08-24 03:51:18 +00:00
rc.initdiskless Revert r243228. This commit appears to cause more trouble than 2012-11-21 18:12:28 +00:00
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 Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't 2013-05-19 04:10:34 +00:00
rc.subr MFC r291770: rc.subr: Check for running daemons before a custom start_cmd 2015-12-18 19:58:34 +00:00
rc.suspend Revert r211288 and move the logic to the acpi_timer itself. 2012-02-08 20:31:42 +00:00
regdomain.xml Add a new 900MHz GSM regulatory SKU for the Xagyl Communications XC900M. 2012-12-07 06:34:46 +00:00
remote
rpc
services MFC: r284930 2015-07-13 12:28:18 +00:00
shells
snmpd.config Add (disabled) sample configuration lines needed to enable snmp_target(3) module 2010-12-20 17:28:15 +00:00
sysctl.conf
syslog.conf MFC 259339 2014-01-10 17:56:23 +00:00
termcap.small Fix termcap entry typo. 2011-02-09 10:06:31 +00:00