openrc/src/rc
William Hubbs 10a4385e40 rc: allow switching runlevels without stopping services
OpenRC, by default, stops all services that are not listed in a runlevel
when rc is used to switch runlevels. This adds a -n/--no-stop command
line option to rc which tells it to skip stopping the services which are
not in the runlevel.

Reported-by: gentoo@thoth.purplefrog.com
X-Gentoo-Bug: 372585
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=372585
2013-04-28 12:51:12 -05:00
..
_usage.c rc: usage: do not output non-printable short options in usage 2011-11-19 02:43:25 -05:00
_usage.h Silence get_pid(), OpenRC will give the process some time to create the PID file and the first get__pid() call may fail. 2012-09-12 21:00:20 +02:00
.gitignore clean up gitignore files 2011-06-03 17:07:22 -04:00
builtins.h drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
checkpath.c Checkpath: print the path when correcting the owner 2012-10-27 12:59:58 -05:00
fstabinfo.c Typo: emtpy -> empty 2012-09-14 22:59:01 +02:00
Makefile cc.mk: move debug.mk out of end Makefiles 2011-05-28 12:00:34 -04:00
mountinfo.c mountinfo: respect the -q command line option 2012-10-24 12:29:29 -05:00
rc-applets.c rc: fix inverted string compare logic 2012-05-23 19:32:59 -04:00
rc-depend.c rc: fix style around case_RC_COMMON_GETOPT 2011-11-19 02:33:11 -05:00
rc-logger.c Do not unlink the temp. log during shutdown 2012-01-28 18:59:16 +01:00
rc-logger.h drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
rc-misc.c add RC_PREFIX environment variable 2012-09-09 22:22:15 -05:00
rc-plugin.c drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
rc-plugin.h drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
rc-service.c rc-service: add usage message 2013-02-25 14:45:39 -06:00
rc-status.c rc-status: improve usage message accuracy and consistency 2013-02-25 14:44:04 -06:00
rc-update.c rc-update: improve usage message accuracy and consistency 2013-02-25 14:41:30 -06:00
rc.c rc: allow switching runlevels without stopping services 2013-04-28 12:51:12 -05:00
runscript.c runscript: retry prefix flock if it is interrupted by a signal 2013-02-15 13:28:35 -06:00
start-stop-daemon.c Spacing fixes 2012-10-17 18:47:36 -05:00
start-stop-daemon.pam Allow non root users to use start-stop-daemon when linked with pam, Gentoo bug #207836. 2008-02-03 23:02:02 +00:00
swclock.c rc: fix style around case_RC_COMMON_GETOPT 2011-11-19 02:33:11 -05:00