Roy Marples
69ebf0c738
rc_allow_plug -> rc_service_plugable
2007-10-02 09:57:23 +00:00
Roy Marples
837f43e163
librc no longer uses libeinfo. deptree function names are now all under rc_deptree_
2007-09-29 16:42:08 +00:00
Roy Marples
ef0df58761
Fix rc_env_bool
2007-09-26 07:52:48 +00:00
Roy Marples
8a7b58a73d
rc_is_env is now rc_env_bool and just works with boolean values.
2007-09-26 07:05:33 +00:00
Roy Marples
c6c7df47a0
Revert last patch
2007-09-25 17:30:07 +00:00
Roy Marples
1a6451654f
We no longer use bool in our public headers, using int instead.
2007-09-25 17:19:02 +00:00
Roy Marples
1e4e8ed27a
Initial doxygen documentation for rc.h and einfo.h. Plus some header clean ups.
2007-09-25 15:38:21 +00:00
Roy Marples
a74dd430d5
Punt rc_xcalloc as nothing uses it
2007-09-19 13:55:01 +00:00
Roy Marples
1996a1e032
Hide errors caused by old splash plugin for the time being
2007-09-18 16:57:39 +00:00
Roy Marples
81c009e47d
Don't be an ass - don't free the 2nd list. Instead just empty it.
2007-09-18 15:43:19 +00:00
Roy Marples
75b5fdff29
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.
2007-09-18 14:08:56 +00:00
Roy Marples
c8b03c96b7
API change! rc_config_env is renamed to rc_make_env and takes no argument.
2007-09-18 12:20:55 +00:00
Roy Marples
936dc94351
API change! rc_ls_dir, rc_get_config and rc_get_list no longer take
...
a starting list as a first argument. Instead, use rc_strlist_join
to append or prepend the new list to an existing list.
2007-09-18 12:04:51 +00:00
Roy Marples
f1bba12892
API change! rc_strlist_add and friends now take char *** instead of
...
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);
2007-09-18 11:36:55 +00:00
Roy Marples
d3bd76486a
More path fixes thanks to Thomas Pani
2007-08-28 16:28:33 +00:00
Roy Marples
0084bc41ef
Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to 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.
2007-08-09 14:33:20 +00:00
Roy Marples
76f2391ece
Skip some files in env-update like portage env-update for more robustness
2007-07-19 21:44:55 +00:00
Roy Marples
06e687598d
Punt the RC_TTY variable
2007-07-12 09:48:44 +00:00
Roy Marples
53d17a1be2
Add an option to fork ldconfig in env-update, #182794 . Also, preserve the entire line in /etc/env.d/foo if it begins with $
2007-07-09 10:26:02 +00:00
Roy Marples
f754cfd2a9
RC_SYS should now set XEN0 correctly
2007-05-23 12:30:34 +00:00
Roy Marples
fc597a8721
/etc/conf.d/rc.$runlevel now works, #177869 .
2007-05-15 15:56:35 +00:00
Roy Marples
c3608471cd
SSD_NICELEVEL can now affect the nicelevel for daemons started
...
by start-stop-daemon, #175397 .
2007-05-02 12:33:56 +00:00
Roy Marples
a44abb9577
We now buffer stdout and stderr to a file and flush that when running in parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL.
2007-04-24 11:29:19 +00:00
Roy Marples
49b8b30ab7
Fix fstabinfo -p /
2007-04-19 15:31:01 +00:00
Roy Marples
2569e85579
strdup -> rc_xstrdup
2007-04-19 14:54:35 +00:00
Mike Frysinger
a822d2d118
kill off internal relocations for librc.so
2007-04-13 14:08:16 +00:00
Roy Marples
e6674b2cae
Cuddle up to LKML C style
2007-04-11 12:44:47 +00:00
Roy Marples
d3db9e9910
Fix indentation
2007-04-10 11:24:58 +00:00
Roy Marples
0c98067d57
Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own.
2007-04-10 10:33:44 +00:00
Roy Marples
6e2ef07dd3
LIBDIR -> LIB. When interuppted, ensure service state is restored correctly. When stopping, don't uncoldplug too early.
2007-04-08 16:03:48 +00:00
Roy Marples
ab62a84790
snprintf is better
2007-04-06 08:37:15 +00:00
Roy Marples
657be65340
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults
2007-04-06 01:04:07 +00:00
Roy Marples
308042c87b
We now compile on OpenBSD (no idea if it works or not yet)
2007-04-05 15:01:09 +00:00
Roy Marples
5af58b4514
Rewrite the core parts in C. We now provide librc so other programs can
...
query runlevels, services and state without using bash. We also provide
libeinfo so other programs can easily use our informational functions.
As such, we have dropped the requirement of using bash as the init script
shell. We now use /bin/sh and have strived to make the scripts as portable
as possible. Shells that work are bash and dash. busybox works provided
you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
should disable find too.
zsh and ksh do not work at this time.
Networking support is currently being re-vamped also as it was heavily bash
array based. As such, a new config format is available like so
config_eth0="1.2.3.4/24 5.6.7.8/16"
or like so
config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"
We will still support the old bash array format provided that /bin/sh IS
a link it bash.
ChangeLog for baselayout-1 can be found in our SVN repo.
2007-04-05 11:18:42 +00:00