/[baselayout]/trunk/src/rc.h
Gentoo

Log of /trunk/src/rc.h

Parent Directory Parent Directory | Revision Log Revision Log



Revision 2889 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 15:43:19 2007 UTC (7 years, 3 months ago) by uberlord
File length: 7630 byte(s)
Diff to previous 2888
Don't be an ass - don't free the 2nd list. Instead just empty it.

Revision 2888 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 14:18:22 2007 UTC (7 years, 3 months ago) by uberlord
File length: 7649 byte(s)
Diff to previous 2886
Clarify strlist_join behaviour

Revision 2886 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 14:08:56 2007 UTC (7 years, 3 months ago) by uberlord
File length: 7519 byte(s)
Diff to previous 2885
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.

Revision 2885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 12:20:55 2007 UTC (7 years, 3 months ago) by uberlord
File length: 7521 byte(s)
Diff to previous 2883
API change! rc_config_env is renamed to rc_make_env and takes no argument.

Revision 2883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 12:04:51 2007 UTC (7 years, 3 months ago) by uberlord
File length: 7529 byte(s)
Diff to previous 2882
    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.

Revision 2882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 11:36:55 2007 UTC (7 years, 3 months ago) by uberlord
File length: 7568 byte(s)
Diff to previous 2831
    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);

Revision 2831 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 15 14:49:41 2007 UTC (7 years, 4 months ago) by uberlord
File length: 7570 byte(s)
Diff to previous 2828
    `config /etc/fstab' can now be used in depend() functions to show that
    the deptree should be regenerated if /etc/fstab has changed.

Revision 2828 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 9 14:33:20 2007 UTC (7 years, 4 months ago) by uberlord
File length: 7643 byte(s)
Diff to previous 2811
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.

Revision 2811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 3 10:14:38 2007 UTC (7 years, 4 months ago) by uberlord
File length: 7624 byte(s)
Diff to previous 2799
Wups, these definitions need to be in rc.h really

Revision 2799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 31 16:05:56 2007 UTC (7 years, 4 months ago) by uberlord
File length: 5908 byte(s)
Diff to previous 2776
    All our binaries are now mulicalls into rc, which makes our on disk size
    a lot smaller.

Revision 2776 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 13 14:30:33 2007 UTC (7 years, 5 months ago) by uberlord
File length: 7624 byte(s)
Diff to previous 2764
Don't use 'this' as a variable name as it confuses c++

Revision 2764 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 10 19:14:37 2007 UTC (7 years, 5 months ago) by uberlord
File length: 7622 byte(s)
Diff to previous 2763
Rename variable

Revision 2763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 10 19:09:41 2007 UTC (7 years, 5 months ago) by uberlord
File length: 7624 byte(s)
Diff to previous 2759
init scripts and their extra options can now have descriptions, #184327.

Revision 2759 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 10 11:42:56 2007 UTC (7 years, 5 months ago) by uberlord
File length: 7501 byte(s)
Diff to previous 2665
We no longer care about numerical runlevels, #184733.

Revision 2665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 27 11:24:05 2007 UTC (7 years, 7 months ago) by uberlord
File length: 7368 byte(s)
Diff to previous 2641
env-update now respects COLON_SEPARATED and SPACE_SEPARATED env.d values, #176198.

Revision 2641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 20 18:58:42 2007 UTC (7 years, 8 months ago) by uberlord
File length: 7261 byte(s)
Diff to previous 2640
Re-work the starting and stopping of services so we always know the pid so we can kill our children without the need for process groups which we cannot use as keyboard will not work in init.

Revision 2640 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 20 15:02:13 2007 UTC (7 years, 8 months ago) by uberlord
File length: 7232 byte(s)
Diff to previous 2636
Fix rc-abort to notify the plugins we are aborting

Revision 2636 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 20 09:39:47 2007 UTC (7 years, 8 months ago) by uberlord
File length: 7088 byte(s)
Diff to previous 2582
Plugins now run in a forked process for extra resliance.

Revision 2582 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 13:18:52 2007 UTC (7 years, 8 months ago) by uberlord
File length: 6909 byte(s)
Diff to previous 2577
Style updates

Revision 2577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 12:44:47 2007 UTC (7 years, 8 months ago) by uberlord
File length: 6887 byte(s)
Diff to previous 2574
Cuddle up to LKML C style

Revision 2574 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 10:40:53 2007 UTC (7 years, 8 months ago) by uberlord
File length: 7096 byte(s)
Diff to previous 2573
Move carrier detection back into net.sh. Reserve a new hook numbers

Revision 2573 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 07:15:02 2007 UTC (7 years, 8 months ago) by uberlord
File length: 7003 byte(s)
Diff to previous 2569
Add new service hooks, remove pmake stuff from our Makefile and fix rc_services_in_state for scheduled.

Revision 2569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 11:24:58 2007 UTC (7 years, 8 months ago) by uberlord
File length: 6535 byte(s)
Diff to previous 2549
Fix indentation

Revision 2549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 15:01:09 2007 UTC (7 years, 8 months ago) by uberlord
File length: 6346 byte(s)
Diff to previous 2547
We now compile on OpenBSD (no idea if it works or not yet)

Revision 2547 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Apr 5 11:18:42 2007 UTC (7 years, 8 months ago) by uberlord
File length: 6263 byte(s)
    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.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sticky Revision:
(Current path doesn't exist after revision 3108)

  ViewVC Help
Powered by ViewVC 1.1.20