Age | Commit message (Collapse) | Author |
|
|
|
rc_service_schedule_start
|
|
|
|
|
|
|
|
rc_deptree_
|
|
|
|
|
|
things with just the one call making is more efficient.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
is so that programs can get information about the controlling terminal.
This change was triggered by bug #188506 where it's possible that
stdin, stdout and stderr didn't point to a terminal but ended up on one
via our pipes. Using a pty means that stdout and stderr always point to
a terminal, but we lose the ability to tell them apart.
If there is not a pty available then we use un-prefixed output as normal.
This change has also introduced the need for a signal pipe so that
SIGCHLD can exit the loop cleanly.
|
|
|
|
list for ease of use.
|
|
|
|
char ** and return a pointer to the item added instead of the new
list head. This is so we can easily tell if the item was successfully
added or not instead of iterating through the list looking for it.
list = rc_strlist_add (list, item);
becomes
rc_strlist_add (&list, item);
|
|
|
|
anything at all for /etc/init.d/foo needsme
|
|
|
|
achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code.
|
|
|
|
|
|
a lot smaller.
|
|
If yes then we only use services in the boot and default runlevels,
regradless of service state.
If no then we take into account coldplugged services and the state
of currently running services.
Fixes #185640.
|
|
|
|
which also reduces our variable pollution.
|
|
|
|
|
|
|
|
|
|
|
|
we don't leak memory. To this extent, we now have the global boolean rc_in_plugin and the cleanup code can act accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to drizztbsd for find public domain code :)
|
|
|
|
Use int instead of char for getopt, #178084 thanks to drizztbsd.
|
|
a restart
|
|
started or stopped, #176452.
|
|
lock prefixed output.
|
|
|