freebsd-dev/libexec/rc
Mateusz Piotrowski d15e810db9 rc: Honor ${name}_env when a custom *_cmd is defined (e.g., start_cmd)
A user may set ${name}_env variable in rc.conf(5) in order to set additional
environment variables for a service command.  Unfortunately, at the moment
this variable is only honored when the command is specified via the command
variable. Those additional environment variables coming from ${name}_env
are never set if the service is started via the ${rc_arg}_cmd variable (for
example start_cmd).

PR:		239692
Reviewed by:	bcr, jilles
Approved by:	src (jilles)
Differential Revision:	https://reviews.freebsd.org/D21228
2019-09-05 14:52:22 +00:00
..
rc.d pkgbase: Move rc scripts and related files to their own packages 2019-09-05 14:08:45 +00:00
Makefile pkgbase: Move rc scripts and related files to their own packages 2019-09-05 14:08:45 +00:00
netstart
network.subr network.subr: improve configuration of cloned gif(4) interfaces 2019-04-05 22:45:08 +00:00
pccard_ether
rc
rc.bsdextended pkgbase: Really move rc.bsdextended 2019-05-22 07:39:59 +00:00
rc.conf Allow the hostapd program to be specified. This allows users to use 2019-06-17 20:11:02 +00:00
rc.firewall pkgbase: Really move rc.firewall 2019-05-22 07:38:54 +00:00
rc.initdiskless Make mdmfs verbose if diskless boot is verbose. 2019-04-26 14:44:50 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.sendmail pkgbase: Really move rc.sendmail 2019-05-22 07:40:39 +00:00
rc.shutdown
rc.subr rc: Honor ${name}_env when a custom *_cmd is defined (e.g., start_cmd) 2019-09-05 14:52:22 +00:00
rc.suspend