aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc.c
AgeCommit message (Collapse)Author
2008-04-26Check we have a list before running depends.Roy Marples
2008-04-17Cast to unsigned char for ctype calls.Roy Marples
2008-04-08rc_runlevel is now the preferred kernel commandline option for choosing ↵Roy Marples
default runlevel.
2008-04-06Some systems are only detectable after /proc is mounted, so re-test if unknown.Roy Marples
2008-04-06Increase pidstr size to 10 chars.Roy Marples
2008-03-28Remove rc_service_start/stop from librc as they block and unmask signals. ↵Roy Marples
The application may not wish this behaviour and should fork/exec the service itself.
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-26If we have coldplugged services, but no start_services, we need to create a ↵Roy Marples
new list for start_services.
2008-03-24Fix segfault when no coldplugged services, thanks to Daijo.Roy Marples
2008-03-24Fix coldplug disabling.Roy Marples
2008-03-24Fix debug support to work without gmake and bundle -ggdb in properly.Roy Marples
2008-03-22add support for automatic gdb launching when RC_DEBUG is defined to 1 to ↵Mike Frysinger
ease bug reporting / information gathering
2008-03-21Fix some crashers in a prefix with few services.Roy Marples
2008-03-21ksoftlevel -> krunlevelRoy Marples
2008-03-19Add rc-service and update all softlevel refs to runlevel.Roy Marples
2008-03-18Get going_down and parallel the right away round.Roy Marples
2008-03-17Make rc_getline private and save it's buffer so it's sort of like getline ↵Roy Marples
from glibc.
2008-03-17We should check for NULL here.Roy Marples
2008-03-17Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples
expensive malloc calls.
2008-03-17rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array.Roy Marples
2008-03-16Use correct TAILQ_CONCAT macro when not defined.Roy Marples
2008-03-16Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples
from queue(3). Refactor code style around the BSD KNF.
2008-03-11RC_SERVICE now points to the service file, so daemons can recall us directly.Roy Marples
2008-03-11Coldplug net devices on the BSD's as found by getifaddrs.Roy Marples
2008-03-06Test access instead of euid.Roy Marples
2008-03-05Show version similar to gcc.Roy Marples
2008-03-05Style.Roy Marples
2008-03-04Inform plugins when we exit if on signal.Roy Marples
2008-03-03Fix compile on Linux.Roy Marples
2008-03-03Split VPS into VSERVER and OPENVZRoy Marples
2008-03-03rc single and rc sysinit don't check sysvinit env vars in prefix.Roy Marples
2008-03-02Don't check for root in prefix.Roy Marples
2008-03-01We should use shutdown to goto single user mode.Roy Marples
2008-02-04exiting to shell should block signals first, to avoid the child getting ↵Roy Marples
them. Also, sulogin seems to work without specifying the terminal now.
2008-02-02Block signals to avoid fork /signal races.Roy Marples
2008-02-01Constantise as much as possible so that it reduces COW usage.Roy Marples
2008-02-01Use sigaction over signal.Roy Marples
2008-02-01Fix compile on BSDRoy Marples
2008-01-30Use the variable instead of type for sizeof.Roy Marples
2008-01-29Fix branding.Roy Marples
2008-01-29Do our coldplug at the end of sysinit as there's no guarantee that the boot ↵Roy Marples
runlevel will be called before the default runlevel.
2008-01-29If we don't have any branding, then add some uname info at startup.Roy Marples
2008-01-22Quiet some more lint warnings.Roy Marples
2008-01-21Checking first char for null is more efficient than strlen.Roy Marples
2008-01-18rc_coldplug=no really stops all coldplug eventsRoy Marples
2008-01-14Fix rc changing runlevels after splitting out the applets.Roy Marples
2008-01-14Put the applets into rc-applet.c so that rc.c is easier to manage.Roy Marples
2008-01-14Add support for is_newer_than and is_older_than. is_older_than currently ↵Roy Marples
doesn't work as expected, but is_newer_than works fine.
2008-01-14strip trailing newlinesMike Frysinger
2008-01-13Remove rc_service_plugable function and make it private as it needs to read ↵Roy Marples
from our config file.