aboutsummaryrefslogtreecommitdiff
path: root/src/rc
AgeCommit message (Collapse)Author
2008-12-23Disallow hotplug to run during sysinit, but allow elsewhere. Fixes #131.Roy Marples
2008-12-23We should match on the correct args for stopping daemons when pidfilesRoy Marples
are not being used.
2008-12-21Allow rc_runlevel/softlevel to set runlevel from kernel commandline.Roy Marples
2008-12-13Store interactive mode after sysinit, #128 thanks to Matthias Schwarzott.Roy Marples
2008-12-11Warn about stopping sysinit services, thanks to Matthias Schwarzott. Fixes #126.Roy Marples
2008-12-04runlevel override works correctly again.Roy Marples
2008-12-04Report invalid runlevels.Roy Marples
2008-12-04If we're building from subversion, brand the binary as such.Roy Marples
2008-12-04Punt .gitignore files.Roy Marples
2008-12-01Include hotplugged services in our start list.Roy Marples
2008-12-01Actally show hotplugged services.Roy Marples
2008-11-28Ignore interupts when waiting for processes to finish. Also, style fixes.Roy Marples
2008-11-28Style.Roy Marples
2008-11-27Not needed.Roy Marples
2008-11-27Switch from select to poll and improve the no prefixing of eend calls.Roy Marples
2008-11-27Switch from select to poll and improve the no prefixing of eend calls.Roy Marples
2008-11-23Don't warn about waiting for services marked as notimeout, Gentoo #247306.Roy Marples
2008-11-12Save a needless malloc when re-creating PATH.Roy Marples
2008-11-11Don't set user info unless stated.Roy Marples
2008-11-10Fix stopping with a faulty pidfile.Roy Marples
2008-11-04We start off in sysinit correctly.Roy Marples
2008-11-03No need for NULL here.Roy Marples
2008-11-03Fix sending signals, #121.Roy Marples
2008-11-03Fix fstabinfo for mounting /dev/shm, Gentoo #245367.Roy Marples
2008-11-03We shouldn't run halt.sh anymore.Roy Marples
2008-11-03Add a new shutdown runlevel, Gentoo #224537.Roy Marples
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.
2008-10-30Plug a leak and expand exec also.Roy Marples
2008-10-30Allow ~ and ~user to expand for chdir and chroot.Roy Marples
2008-10-30Fix --name when stopping, Gentoo #243088.Roy Marples
2008-10-30We no longer hotplug by default.Roy Marples
2008-10-30We should show hotplugged services, needed services and manually started ↵Roy Marples
services in rc-status.
2008-10-29Properly set PAM enviornment variables after opening session.Roy Marples
Without this change, modules like pam_mktemp or pam_env and similar will be unable to change users' environments, like they are supposed to.
2008-10-27Style.Roy Marples
2008-10-27Remove sysvinit specific code.Roy Marples
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.
2008-10-16Include sysinit services even in single user.Roy Marples
2008-10-10Re-evaluate sys after running initsh.Roy Marples
2008-10-10Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵Roy Marples
services. Makes things much easier.
2008-10-10sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples
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.
2008-10-08Clean up warnings regarding printf.Roy Marples
2008-10-06#ifdef atexit cleanups calling free as the OS should do this for us, but ↵Roy Marples
valgrind debuggers need it.
2008-10-03Fix a segfault when profile.env does not exist.Roy Marples
2008-10-01Add an env var so plugins know when leaving single means the end, or start ↵Roy Marples
the default level.
2008-10-01Correcly call the right runlevel for plugins when shutting down.Roy Marples
2008-09-27Use flock to lock PREFIX_LOCK so that multiple processes can cleanly write ↵Roy Marples
to the same tty.
2008-09-27Warn when waiting for a service every few seconds.Roy Marples
2008-09-27When stopping services, check the newlevel if given otherwise the current ↵Roy Marples
runlevel. Fixes #100.
2008-09-26Stop ssd from waiting by default - most daemons are good now.Roy Marples
2008-09-22StyleRoy Marples
2008-09-22Our match arguments could be different from the exec arguments, as only the ↵Roy Marples
kernel should set script arguments.
2008-09-22Allow interpreted daemons to detect interperter options.Roy Marples