summaryrefslogtreecommitdiff
path: root/src/rc/rc.c
Commit message (Collapse)AuthorAge
* Don't drop to sulogin by default, but make this configurable.Roy Marples2009-04-24
|
* Allow rc to start (optionally stop) crashed services, #120Roy Marples2009-04-24
|
* Improve style for KNFRoy Marples2009-04-23
|
* noinit makes more sense than noinitdRoy Marples2009-01-18
|
* yes should be YESRoy Marples2009-01-13
|
* Don't allow SYSVINIT parameters through anymore.Roy Marples2009-01-13
| | | | | | RC_REBOOT is now yes when rebooting. Document the special reboot runlevel.
* We now warn about clock skewsRoy Marples2009-01-12
| | | | | | rc-update -u will force a regen of the dep tree rc_newer_than and rc_olderthan now take another two parameters for newest/oldest file and mtime
* Fix compile, #136Roy Marples2009-01-02
|
* Allow rc_runlevel/softlevel to set runlevel from kernel commandline.openrc-0.4.1Roy Marples2008-12-21
|
* Store interactive mode after sysinit, #128 thanks to Matthias Schwarzott.Roy Marples2008-12-13
|
* runlevel override works correctly again.Roy Marples2008-12-04
|
* Include hotplugged services in our start list.Roy Marples2008-12-01
|
* Ignore interupts when waiting for processes to finish. Also, style fixes.Roy Marples2008-11-28
|
* We start off in sysinit correctly.Roy Marples2008-11-04
|
* No need for NULL here.Roy Marples2008-11-03
|
* We shouldn't run halt.sh anymore.Roy Marples2008-11-03
|
* Add a new shutdown runlevel, Gentoo #224537.Roy Marples2008-11-03
| | | | | | | Split halt.sh into halt, killprocs, romount and savecache services. The reboot runlevel is removed but mapped to shutdown. The halt script should be moved to the sysvinit package.
* Style.Roy Marples2008-10-27
|
* Remove sysvinit specific code.Roy Marples2008-10-27
| | | | | | | | The runlevels shutdown, reboot, sysinit and single should be called by init(8) and shutdown(8) and not manually. sysvinit users will have to add sulogin to their inittab to secure the console.
* Include sysinit services even in single user.Roy Marples2008-10-16
|
* Re-evaluate sys after running initsh.Roy Marples2008-10-10
|
* Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵Roy Marples2008-10-10
| | | | services. Makes things much easier.
* sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples2008-10-10
| | | | | | | | | | | mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
* #ifdef atexit cleanups calling free as the OS should do this for us, but ↵Roy Marples2008-10-06
| | | | valgrind debuggers need it.
* Add an env var so plugins know when leaving single means the end, or start ↵Roy Marples2008-10-01
| | | | the default level.
* Correcly call the right runlevel for plugins when shutting down.Roy Marples2008-10-01
|
* When stopping services, check the newlevel if given otherwise the current ↵Roy Marples2008-09-27
| | | | runlevel. Fixes #100.
* Use the new rc_stringlist_find function.Roy Marples2008-09-18
|
* rc_nostop now lists services we should not stop on shutdown.Roy Marples2008-09-18
|
* Clean up some compile warnings.Roy Marples2008-09-18
|
* When testing services to stop, we should trace it. More for #79.Roy Marples2008-05-12
|
* Only launch single user when RUNLEVEL == S, #74.Roy Marples2008-05-10
|
* Fix the EINTR check for waitpid, Gentoo #219929.Roy Marples2008-05-06
|
* We don't need to handle SIGWINCH in sysinit, so this should fix loading a ↵Roy Marples2008-05-06
| | | | framebuffer module in init.sh (Gentoo #219929. Ideally someone should tell me why this is happening and if there is a better fix.
* Fix another leak.Roy Marples2008-04-29
|
* Add rc_program function which uses fork and signal masking to try and ↵Roy Marples2008-04-28
| | | | resolve the waitpid issue, Gentoo #219179.
* Check we have a list before running depends.Roy Marples2008-04-26
|
* Cast to unsigned char for ctype calls.Roy Marples2008-04-17
|
* rc_runlevel is now the preferred kernel commandline option for choosing ↵Roy Marples2008-04-08
| | | | default runlevel.
* Some systems are only detectable after /proc is mounted, so re-test if unknown.Roy Marples2008-04-06
|
* Increase pidstr size to 10 chars.Roy Marples2008-04-06
|
* Remove rc_service_start/stop from librc as they block and unmask signals. ↵Roy Marples2008-03-28
| | | | The application may not wish this behaviour and should fork/exec the service itself.
* Add license blurb to a few files and append my email to my name.Roy Marples2008-03-26
|
* If we have coldplugged services, but no start_services, we need to create a ↵Roy Marples2008-03-26
| | | | new list for start_services.
* Fix segfault when no coldplugged services, thanks to Daijo.Roy Marples2008-03-24
|
* Fix coldplug disabling.Roy Marples2008-03-24
|
* Fix debug support to work without gmake and bundle -ggdb in properly.Roy Marples2008-03-24
|
* add support for automatic gdb launching when RC_DEBUG is defined to 1 to ↵Mike Frysinger2008-03-22
| | | | ease bug reporting / information gathering
* Fix some crashers in a prefix with few services.Roy Marples2008-03-21
|
* ksoftlevel -> krunlevelRoy Marples2008-03-21
|