aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-08Add a better, but incomplete tgoto implementation to make gcc happy.Roy Marples
2008-10-08Clean up warnings regarding printf.Roy Marples
2008-10-07Fix tests, #Gentoo 240350.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-22We don't check exec when starting, so don't when testing for crashed.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
2008-09-19Fix stopping wpa_supplicant incorrectly, #107Roy Marples
2008-09-18Add missing profile bits to env, #72.Roy Marples
2008-09-18Use the new rc_stringlist_find function.Roy Marples
2008-09-18Work with NULL lists.Roy Marples
2008-09-18Use the new rc_stringlist_find function.Roy Marples
2008-09-18Use the new rc_stringlist_find function.Roy Marples
2008-09-18rc_nostop now lists services we should not stop on shutdown.Roy Marples
2008-09-18Add new functions, rc_stringlist_find and rc_stringlist_split.Roy Marples
2008-09-18Clean up some compile warnings.Roy Marples
2008-09-17Allow interpreted daemons to use s-s-d a little easier.Roy Marples
2008-08-20Actually set the umask.Roy Marples
2008-08-20Add -k,--umask option, Gentoo #232455.Roy Marples
2008-08-19Add new OpenVZ detection codeRoy Marples
2008-07-27Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵Roy Marples
maybe working better with interpreted scripts.
2008-07-09Ignore core filesRoy Marples
2008-07-08STAILQ -> TAILQRoy Marples
2008-07-07Punt STAILQ and just use TAILQ so we're a bit more portable.Roy Marples
2008-07-03Fix is_older_than a little better, and make is_newer_than correct.Roy Marples
2008-07-03Add older_than function to complement newer_than function. Also make the ↵Roy Marples
userland instance reversed to be compatable with current baselayout, which truely does suck.
2008-07-03More unit fixes.Roy Marples
2008-07-03More unit fixes.Roy Marples
2008-07-03Fix test.Roy Marples
2008-07-03Add an is_older_than unit test, thanks to zzamRoy Marples
2008-07-02Fix compile with pcc.Roy Marples
2008-06-30Ignore ewaitfile.Roy Marples
2008-06-30If filtering fstab, only match additional mounts asked for.Roy Marples
2008-06-19Use CPPFLAGS so we work with -combine in CFLAGS.Roy Marples
2008-06-17open should use 3 args when using O_CREAT.Roy Marples
2008-06-10fuzzy dependency ordering should be started, starting, stopped whilst ↵Roy Marples
checking runlevel, bootlevel, any at each stage.
2008-06-10When we have dependant scheduled services, don't error if a need is stopped.Roy Marples