openrc/sh
William Hubbs 9fa54a8e80 Runscript: allow extra_commands to be run in chroots
The commands defined in the extra_commands variable do not depend on
whether the service is stopped or started, so it is valid to run them in
chroot environments.

Also, add a note to the runscript man page about the commands in
extra_commands being able to run whether or not the service is started.

Reported-by: Robin Johnson <robbat2@gentoo.org>
X-Gentoo-Bug: 406713
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406713
2012-03-03 09:22:44 -06:00
..
.gitignore update ignore patterns 2012-02-20 17:07:43 -06:00
cgroup-release-agent.sh.in CGroups: create the openrc cgroup hierarchy 2011-11-20 14:07:46 -06:00
functions.sh.in make shell math operations style more succulent 2011-11-19 02:25:36 -05:00
gendepends.sh.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
ifwatchd-carrier.sh.in Stop using needless {} in vars 2009-04-26 21:13:26 +00:00
ifwatchd-nocarrier.sh.in Stop using needless {} in vars 2009-04-26 21:13:26 +00:00
init-common-post.sh.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
init-early.sh.Linux.in Fix early consolefont/termencoding usage vs rc_sys 2012-02-09 01:53:46 -08:00
init.sh.BSD.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
init.sh.Linux.in Revert "Mount /run as early as possible" 2011-09-12 22:15:24 -05:00
Makefile CGroups: create the openrc cgroup hierarchy 2011-11-20 14:07:46 -06:00
rc-functions.sh.in The is_net_fs function should use extra_net_fs_list 2011-07-06 09:53:05 -05:00
rc-mount.sh make shell math operations style more succulent 2011-11-19 02:25:36 -05:00
runscript.sh.in Runscript: allow extra_commands to be run in chroots 2012-03-03 09:22:44 -06:00
runtests.sh make shell math operations style more succulent 2011-11-19 02:25:36 -05:00
udhcpc-hook.sh.in eat trailing whitespace 2011-07-04 18:27:00 -04:00