/[baselayout]/trunk/src
Gentoo

Log of /trunk/src

View Directory Listing Directory Listing



Revision 3035 - Directory Listing
Modified Thu Oct 11 23:17:53 2007 UTC (7 years ago) by uberlord
malloc data size, not pointer size

Revision 3031 - Directory Listing
Modified Thu Oct 11 15:05:02 2007 UTC (7 years ago) by uberlord
Bump librc and libeinfo to .so.1

Revision 3029 - Directory Listing
Modified Thu Oct 11 14:00:56 2007 UTC (7 years ago) by uberlord
Yoiks, that comma shouldn't be there.

Revision 3028 - Directory Listing
Modified Thu Oct 11 13:56:38 2007 UTC (7 years ago) by uberlord
No need for that include

Revision 3027 - Directory Listing
Modified Thu Oct 11 10:11:12 2007 UTC (7 years ago) by uberlord
Fix deleting items from string lists.

Revision 3026 - Directory Listing
Modified Thu Oct 11 09:49:54 2007 UTC (7 years ago) by uberlord
If / block device as in /etc/fstab does not exist, use /dev/root if it's available in checkroot, #171593.

Revision 3025 - Directory Listing
Modified Wed Oct 10 13:49:52 2007 UTC (7 years ago) by uberlord
Fix rc.map

Revision 3024 - Directory Listing
Modified Wed Oct 10 13:11:35 2007 UTC (7 years ago) by uberlord
rc_deptree_order_services -> rc_deptree_order

Revision 3023 - Directory Listing
Modified Wed Oct 10 11:55:55 2007 UTC (7 years ago) by uberlord
Give more time to daemons

Revision 3022 - Directory Listing
Modified Wed Oct 10 06:24:08 2007 UTC (7 years ago) by uberlord
Don't run the done hook twice

Revision 3021 - Directory Listing
Modified Tue Oct 9 21:20:10 2007 UTC (7 years ago) by uberlord
We should only have one block of code that restores state

Revision 3020 - Directory Listing
Modified Tue Oct 9 21:13:08 2007 UTC (7 years ago) by uberlord
Fix failed services a little, and make timeout more sane

Revision 3018 - Directory Listing
Modified Tue Oct 9 17:41:53 2007 UTC (7 years ago) by uberlord
Improve applet help a little. Also, if mountinfo as any mounts given, work explictly with --netdev/--nonetdev

Revision 3017 - Directory Listing
Modified Tue Oct 9 15:47:25 2007 UTC (7 years ago) by uberlord
Foo, should be a mask

Revision 3016 - Directory Listing
Modified Tue Oct 9 15:44:22 2007 UTC (7 years ago) by uberlord
Ensure that runscript returns 0 when service is started

Revision 3015 - Directory Listing
Modified Tue Oct 9 15:33:05 2007 UTC (7 years ago) by uberlord
netmount, localmount, halt.sh and net scripts now check OS specific flags to see if a mount is network mounted (linux = fstab, *bsd = "local" in mount options) or not, #192772.

Revision 3014 - Directory Listing
Modified Tue Oct 9 12:52:09 2007 UTC (7 years ago) by uberlord
Quiet some compile time warnings on uclibc

Revision 3013 - Directory Listing
Modified Tue Oct 9 10:18:13 2007 UTC (7 years ago) by uberlord
Fix help

Revision 3011 - Directory Listing
Modified Tue Oct 9 09:25:32 2007 UTC (7 years ago) by uberlord
Tidy up

Revision 3010 - Directory Listing
Modified Mon Oct 8 12:46:14 2007 UTC (7 years ago) by uberlord
Don't stop reading dir contents on errors

Revision 3009 - Directory Listing
Modified Mon Oct 8 11:16:22 2007 UTC (7 years ago) by uberlord
Wups, should be xstrdup

Revision 3008 - Directory Listing
Modified Mon Oct 8 11:11:21 2007 UTC (7 years ago) by uberlord
Punt rc_ from xstrdup, xalloc, xrealloc and exists as they're not in librc anymore

Revision 3007 - Directory Listing
Modified Mon Oct 8 11:07:39 2007 UTC (7 years ago) by uberlord
Move rc_env_filter and rc_env_config out of librc and into rc

Revision 3004 - Directory Listing
Modified Fri Oct 5 12:04:19 2007 UTC (7 years ago) by uberlord
rc doesn't and shouldn't use libkvm

Revision 3003 - Directory Listing
Modified Fri Oct 5 12:00:18 2007 UTC (7 years ago) by uberlord
Don't bother holding the old errno

Revision 3002 - Directory Listing
Modified Fri Oct 5 11:31:17 2007 UTC (7 years ago) by uberlord
Fix a few errors with the last few commits

Revision 3001 - Directory Listing
Modified Fri Oct 5 11:04:49 2007 UTC (7 years ago) by uberlord
Punt rc_waitpid

Revision 3000 - Directory Listing
Modified Fri Oct 5 10:36:53 2007 UTC (7 years ago) by uberlord
Punt rc_rm_dir

Revision 2999 - Directory Listing
Modified Fri Oct 5 10:16:14 2007 UTC (7 years ago) by uberlord
Punt rc_ls_dir

Revision 2998 - Directory Listing
Modified Thu Oct 4 19:49:12 2007 UTC (7 years ago) by uberlord
rc_service_daemon_set now returns bool

Revision 2997 - Directory Listing
Modified Thu Oct 4 19:43:01 2007 UTC (7 years ago) by uberlord
rc_service_schedule_clear returns a bool on error now

Revision 2996 - Directory Listing
Modified Thu Oct 4 17:26:57 2007 UTC (7 years ago) by uberlord
inline rc_xmalloc, rc_xrealloc and rc_xstrdup so that the library doesn't expose them.

Revision 2995 - Directory Listing
Modified Thu Oct 4 17:02:44 2007 UTC (7 years ago) by uberlord
LS_DIRS -> LS_DIR

Revision 2994 - Directory Listing
Modified Thu Oct 4 17:00:56 2007 UTC (7 years ago) by uberlord
Punt rc_exists from public interface, move to private static inline

Revision 2993 - Directory Listing
Modified Thu Oct 4 16:54:29 2007 UTC (7 years ago) by uberlord
Punt rc_is_dir

Revision 2992 - Directory Listing
Modified Thu Oct 4 16:26:44 2007 UTC (7 years ago) by uberlord
punt rc_is_exec

Revision 2991 - Directory Listing
Modified Thu Oct 4 16:21:53 2007 UTC (7 years ago) by uberlord
punt rc_is_link

Revision 2990 - Directory Listing
Modified Thu Oct 4 16:16:06 2007 UTC (7 years ago) by uberlord
Punt rc_is_file

Revision 2987 - Directory Listing
Modified Thu Oct 4 14:15:49 2007 UTC (7 years ago) by uberlord
document rc_deptree_depends

Revision 2986 - Directory Listing
Modified Thu Oct 4 14:11:45 2007 UTC (7 years ago) by uberlord
Revert making function private

Revision 2985 - Directory Listing
Modified Thu Oct 4 13:55:37 2007 UTC (7 years ago) by uberlord
Remove debug

Revision 2984 - Directory Listing
Modified Thu Oct 4 13:51:57 2007 UTC (7 years ago) by uberlord
__rc_service_daemon_set is now a private function

Revision 2983 - Directory Listing
Modified Thu Oct 4 13:38:47 2007 UTC (7 years ago) by uberlord
depinfo and deptype are now internal use only. rc-depend cuddles up to getopt.

Revision 2982 - Directory Listing
Modified Wed Oct 3 15:46:02 2007 UTC (7 years ago) by uberlord
librc.so and libeinfo.so now have symbol versions.

Revision 2981 - Directory Listing
Modified Wed Oct 3 14:48:50 2007 UTC (7 years ago) by uberlord
rc_make_env -> rc_env_config, rc_filter_env -> rc_env_filter

Revision 2980 - Directory Listing
Modified Wed Oct 3 14:43:05 2007 UTC (7 years ago) by uberlord
Rename config funcs

Revision 2979 - Directory Listing
Modified Wed Oct 3 14:31:16 2007 UTC (7 years ago) by uberlord
reorg our header a little

Revision 2978 - Directory Listing
Modified Wed Oct 3 14:22:45 2007 UTC (7 years ago) by uberlord
rc_service_option_set -> rc_service_value_set, rc_service_option_get -> rc_service_value_get

Revision 2977 - Directory Listing
Modified Wed Oct 3 14:18:52 2007 UTC (7 years ago) by uberlord
rc_schedule_clear -> rc_service_schedule_clear, rc_schedule_start_service -> rc_service_schedule_start

Revision 2976 - Directory Listing
Modified Wed Oct 3 14:14:44 2007 UTC (7 years ago) by uberlord
reorder header a little

Revision 2975 - Directory Listing
Modified Wed Oct 3 14:11:55 2007 UTC (7 years ago) by uberlord
rc_get_runlevels -> rc_runlevel_list

Revision 2973 - Directory Listing
Modified Wed Oct 3 12:55:27 2007 UTC (7 years ago) by uberlord
hide eprefix

Revision 2972 - Directory Listing
Modified Wed Oct 3 12:45:57 2007 UTC (7 years ago) by uberlord
Align correctly when passing output to grep.

Revision 2971 - Directory Listing
Modified Wed Oct 3 12:43:50 2007 UTC (7 years ago) by uberlord
Don't use colour when not a tty - like say when we're redirected to a file.

Revision 2970 - Directory Listing
Modified Wed Oct 3 11:53:20 2007 UTC (7 years ago) by uberlord
Fix output for no colour

Revision 2969 - Directory Listing
Modified Wed Oct 3 11:49:08 2007 UTC (7 years ago) by uberlord
Respect COLUMNS

Revision 2968 - Directory Listing
Modified Tue Oct 2 14:37:30 2007 UTC (7 years ago) by uberlord
Compile fix

Revision 2967 - Directory Listing
Modified Tue Oct 2 09:57:23 2007 UTC (7 years ago) by uberlord
rc_allow_plug -> rc_service_plugable

Revision 2966 - Directory Listing
Modified Tue Oct 2 09:04:10 2007 UTC (7 years ago) by uberlord
rc_set_service_daemon -> rc_service_daemon_set

Revision 2965 - Directory Listing
Modified Tue Oct 2 09:02:08 2007 UTC (7 years ago) by uberlord
rc_set_service_option -> rc_service_option_set, rc_get_service_option -> rc_service_option_get

Revision 2964 - Directory Listing
Modified Mon Oct 1 08:42:27 2007 UTC (7 years ago) by uberlord
Compile on fbsd.

Revision 2961 - Directory Listing
Modified Sat Sep 29 17:20:52 2007 UTC (7 years ago) by uberlord
Plug a leak

Revision 2960 - Directory Listing
Modified Sat Sep 29 17:03:38 2007 UTC (7 years ago) by uberlord
rc_wait_service -> rc_service_wait

Revision 2959 - Directory Listing
Modified Sat Sep 29 17:03:21 2007 UTC (7 years ago) by uberlord
librc doesn't use libeinfo

Revision 2958 - Directory Listing
Modified Sat Sep 29 16:54:58 2007 UTC (7 years ago) by uberlord
Rationalise more functions into rc_service_

Revision 2957 - Directory Listing
Modified Sat Sep 29 16:42:08 2007 UTC (7 years ago) by uberlord
librc no longer uses libeinfo. deptree function names are now all under rc_deptree_

Revision 2956 - Directory Listing
Modified Sat Sep 29 10:17:28 2007 UTC (7 years ago) by uberlord
Ensure reading the console still works in parallel startup

Revision 2954 - Directory Listing
Modified Fri Sep 28 15:04:15 2007 UTC (7 years ago) by uberlord
Crashed is not a baselayout state as such

Revision 2953 - Directory Listing
Modified Fri Sep 28 14:53:38 2007 UTC (7 years ago) by uberlord
rc_service_state now returns the state as a mask, which means that we can do things with just the one call making is more efficient.


Revision 2950 - Directory Listing
Modified Fri Sep 28 12:29:23 2007 UTC (7 years ago) by uberlord
enums are now fixed to specific values and are in UPPER CASE.

Revision 2949 - Directory Listing
Modified Thu Sep 27 23:16:40 2007 UTC (7 years ago) by uberlord
The rc_depinfo_t and rc_deptype_t structures are not for public consumption.

Revision 2948 - Directory Listing
Modified Thu Sep 27 22:14:23 2007 UTC (7 years ago) by uberlord
Clean makefile for duplicate rules

Revision 2947 - Directory Listing
Modified Wed Sep 26 10:46:44 2007 UTC (7 years ago) by uberlord
Fix Makefile for pmake, document s-s-d options and increase usage gap

Revision 2946 - Directory Listing
Modified Wed Sep 26 10:09:27 2007 UTC (7 years ago) by uberlord
If it's in fstab, let mount work everything out instead of us.

Revision 2945 - Directory Listing
Modified Wed Sep 26 09:16:41 2007 UTC (7 years ago) by uberlord
No need for bash here

Revision 2944 - Directory Listing
Modified Wed Sep 26 09:08:07 2007 UTC (7 years ago) by vapier
use __ prefixes so we dont have to worry about user #defines causing havoc in the normal namespace

Revision 2943 - Directory Listing
Modified Wed Sep 26 09:07:31 2007 UTC (7 years ago) by vapier
mark usage() as no return

Revision 2942 - Directory Listing
Modified Wed Sep 26 08:44:39 2007 UTC (7 years ago) by vapier
add some tests to make sure our exported symbols are sane

Revision 2941 - Directory Listing
Modified Wed Sep 26 08:43:32 2007 UTC (7 years ago) by uberlord
Duh, wrong way around

Revision 2940 - Directory Listing
Modified Wed Sep 26 08:39:16 2007 UTC (7 years ago) by vapier
add hidden definition for rc_waitpid()

Revision 2939 - Directory Listing
Modified Wed Sep 26 08:05:49 2007 UTC (7 years ago) by uberlord
passno needs an argument

Revision 2938 - Directory Listing
Modified Wed Sep 26 07:52:48 2007 UTC (7 years ago) by uberlord
Fix rc_env_bool

Revision 2937 - Directory Listing
Modified Wed Sep 26 07:30:00 2007 UTC (7 years ago) by uberlord
Handle fstab with spaces

Revision 2936 - Directory Listing
Modified Wed Sep 26 07:05:33 2007 UTC (7 years ago) by uberlord
rc_is_env is now rc_env_bool and just works with boolean values.

Revision 2935 - Directory Listing
Modified Tue Sep 25 23:17:25 2007 UTC (7 years ago) by vapier
unify verbose/quiet handling

Revision 2934 - Directory Listing
Modified Tue Sep 25 22:57:32 2007 UTC (7 years ago) by vapier
display whether an option takes an argument in the usage output

Revision 2933 - Directory Listing
Modified Tue Sep 25 22:50:27 2007 UTC (7 years ago) by uberlord
Fix short opts

Revision 2932 - Directory Listing
Modified Tue Sep 25 22:45:57 2007 UTC (7 years ago) by uberlord
fstabinto now behaves more like mountinfo with respect to --quiet

Revision 2931 - Directory Listing
Modified Tue Sep 25 22:21:28 2007 UTC (7 years ago) by uberlord
Rework fstabinfo so it makes more sense

Revision 2929 - Directory Listing
Modified Tue Sep 25 17:32:12 2007 UTC (7 years ago) by uberlord
Use bools

Revision 2928 - Directory Listing
Modified Tue Sep 25 17:30:07 2007 UTC (7 years ago) by uberlord
Revert last patch

Revision 2927 - Directory Listing
Modified Tue Sep 25 17:19:02 2007 UTC (7 years ago) by uberlord
We no longer use bool in our public headers, using int instead.

Revision 2926 - Directory Listing
Modified Tue Sep 25 17:03:19 2007 UTC (7 years ago) by vapier
Retain behavior where `rc-update del` warns if nothing changed.

Revision 2925 - Directory Listing
Modified Tue Sep 25 16:42:59 2007 UTC (7 years ago) by vapier
Retain behavior where `rc-update del foo` deletes foo from all runlevels.

Revision 2924 - Directory Listing
Modified Tue Sep 25 16:26:03 2007 UTC (7 years ago) by vapier
ignore symlinks

Revision 2923 - Directory Listing
Modified Tue Sep 25 16:21:38 2007 UTC (7 years ago) by vapier
Add support for describing the options in the C programs.

Revision 2921 - Directory Listing
Modified Tue Sep 25 15:38:21 2007 UTC (7 years ago) by uberlord
Initial doxygen documentation for rc.h and einfo.h. Plus some header clean ups.

Revision 2920 - Directory Listing
Modified Tue Sep 25 12:22:48 2007 UTC (7 years ago) by uberlord
Use -t for -fstype to match mount to make vapier happy

Revision 2916 - Directory Listing
Modified Tue Sep 25 01:47:02 2007 UTC (7 years ago) by vapier
dump a useful error message if nothing happened

Revision 2915 - Directory Listing
Modified Tue Sep 25 01:42:24 2007 UTC (7 years ago) by vapier
split links out into a sep target so implicit rules dont cause problems

Revision 2912 - Directory Listing
Modified Mon Sep 24 12:11:50 2007 UTC (7 years ago) by uberlord
Remove debug lines

Revision 2911 - Directory Listing
Modified Mon Sep 24 12:09:43 2007 UTC (7 years ago) by uberlord
Split our rc commands out into general use vs service commands

Revision 2908 - Directory Listing
Modified Mon Sep 24 09:07:00 2007 UTC (7 years ago) by uberlord
Plug some leaks

Revision 2906 - Directory Listing
Modified Fri Sep 21 11:52:37 2007 UTC (7 years, 1 month ago) by uberlord
Add extraopts to our usage

Revision 2904 - Directory Listing
Modified Fri Sep 21 08:49:43 2007 UTC (7 years, 1 month ago) by uberlord
    Use a pty for prefixed output instead of pipes for stdout/stderr. This
    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.

Revision 2902 - Directory Listing
Modified Thu Sep 20 11:53:10 2007 UTC (7 years, 1 month ago) by uberlord
whitespace

Revision 2901 - Directory Listing
Modified Thu Sep 20 11:47:04 2007 UTC (7 years, 1 month ago) by uberlord
libeinfo now works out the number of columns from stdout rather than stdin, #188506.

Revision 2900 - Directory Listing
Modified Wed Sep 19 17:18:43 2007 UTC (7 years, 1 month ago) by uberlord
Warn if file/directory mismatch

Revision 2899 - Directory Listing
Modified Wed Sep 19 17:08:25 2007 UTC (7 years, 1 month ago) by uberlord
Allow checkown to create files too.

Revision 2898 - Directory Listing
Modified Wed Sep 19 16:54:23 2007 UTC (7 years, 1 month ago) by uberlord
Move the error messages to the option parsing

Revision 2897 - Directory Listing
Modified Wed Sep 19 16:27:37 2007 UTC (7 years, 1 month ago) by uberlord
    Added the checkown applet based on the work by Renato Caldas, #192682
    checkdir ensures that the specified files (or directories) are owned
    by the current user/group or as specified on the command line. You can
    optionally check permissions too.

Revision 2896 - Directory Listing
Modified Wed Sep 19 13:55:01 2007 UTC (7 years, 1 month ago) by uberlord
Punt rc_xcalloc as nothing uses it

Revision 2895 - Directory Listing
Modified Wed Sep 19 13:53:40 2007 UTC (7 years, 1 month ago) by uberlord
/lib/rcscripts -> /lib/rc

Revision 2894 - Directory Listing
Modified Wed Sep 19 11:53:35 2007 UTC (7 years, 1 month ago) by uberlord
--opts to --options

Revision 2893 - Directory Listing
Modified Wed Sep 19 09:00:43 2007 UTC (7 years, 1 month ago) by uberlord
    plugin hook function is now rc_plugin_hook instead of a name based
    on the name of the plugin.

Revision 2891 - Directory Listing
Modified Tue Sep 18 16:57:39 2007 UTC (7 years, 1 month ago) by uberlord
Hide errors caused by old splash plugin for the time being

Revision 2889 - Directory Listing
Modified Tue Sep 18 15:43:19 2007 UTC (7 years, 1 month ago) by uberlord
Don't be an ass - don't free the 2nd list. Instead just empty it.

Revision 2888 - Directory Listing
Modified Tue Sep 18 14:18:22 2007 UTC (7 years, 1 month ago) by uberlord
Clarify strlist_join behaviour

Revision 2886 - Directory Listing
Modified Tue Sep 18 14:08:56 2007 UTC (7 years, 1 month ago) by uberlord
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.

Revision 2885 - Directory Listing
Modified Tue Sep 18 12:20:55 2007 UTC (7 years, 1 month ago) by uberlord
API change! rc_config_env is renamed to rc_make_env and takes no argument.

Revision 2884 - Directory Listing
Modified Tue Sep 18 12:08:04 2007 UTC (7 years, 1 month ago) by uberlord
Don't space separate the options

Revision 2883 - Directory Listing
Modified Tue Sep 18 12:04:51 2007 UTC (7 years, 1 month ago) by uberlord
    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 - Directory Listing
Modified Tue Sep 18 11:36:55 2007 UTC (7 years, 1 month ago) by uberlord
    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 2881 - Directory Listing
Modified Tue Sep 18 09:20:30 2007 UTC (7 years, 1 month ago) by uberlord
Re-work mountinfo so that we have a lot less OS specific code

Revision 2877 - Directory Listing
Modified Wed Sep 12 14:32:18 2007 UTC (7 years, 1 month ago) by uberlord
BSD will need a fixed gcc for --as-needed

Revision 2876 - Directory Listing
Modified Tue Sep 11 22:06:27 2007 UTC (7 years, 1 month ago) by uberlord
More --as-needed foo

Revision 2875 - Directory Listing
Modified Tue Sep 11 21:45:26 2007 UTC (7 years, 1 month ago) by uberlord
Work better with --as-needed

Revision 2874 - Directory Listing
Modified Mon Sep 10 21:26:13 2007 UTC (7 years, 1 month ago) by uberlord
librc should link against libeinfo too

Revision 2868 - Directory Listing
Modified Thu Sep 6 13:00:03 2007 UTC (7 years, 1 month ago) by uberlord
Makefile in src now supports pmake as used on the BSDs.

Revision 2867 - Directory Listing
Modified Thu Sep 6 08:59:35 2007 UTC (7 years, 1 month ago) by uberlord
strdup -> rc_xstrdup

Revision 2866 - Directory Listing
Modified Tue Sep 4 09:32:36 2007 UTC (7 years, 1 month ago) by uberlord
    start-stop-daemon now works with userids correctly when a pidfile
    is not specified, #191206.


Revision 2865 - Directory Listing
Modified Mon Sep 3 14:02:15 2007 UTC (7 years, 1 month ago) by uberlord
Add --quiet to mountinfo

Revision 2860 - Directory Listing
Modified Sat Sep 1 00:51:41 2007 UTC (7 years, 1 month ago) by uberlord
We may not always add to the array, so re-count it afterwards

Revision 2858 - Directory Listing
Modified Fri Aug 31 11:06:49 2007 UTC (7 years, 1 month ago) by uberlord
Don't add multiple entries to ld.so.conf

Revision 2857 - Directory Listing
Modified Tue Aug 28 16:28:33 2007 UTC (7 years, 1 month ago) by uberlord
More path fixes thanks to Thomas Pani

Revision 2856 - Directory Listing
Modified Tue Aug 28 13:10:07 2007 UTC (7 years, 1 month ago) by uberlord
Use correct defines

Revision 2855 - Directory Listing
Modified Tue Aug 28 13:06:44 2007 UTC (7 years, 1 month ago) by uberlord
Undocument pause action, fix --nodeps and --ifstarted, #190045.

Revision 2854 - Directory Listing
Modified Tue Aug 28 09:17:04 2007 UTC (7 years, 1 month ago) by uberlord
#define shutdown

Revision 2853 - Directory Listing
Modified Tue Aug 28 09:13:46 2007 UTC (7 years, 1 month ago) by uberlord
Move more stuff to #defines

Revision 2852 - Directory Listing
Modified Tue Aug 28 08:50:04 2007 UTC (7 years, 1 month ago) by uberlord
Fix ksoftlevel handling, #190420.

Revision 2847 - Directory Listing
Modified Wed Aug 22 14:10:46 2007 UTC (7 years, 2 months ago) by uberlord
Only open /proc/cmdline if it exists, #189686 thanks to Christian Affolter

Revision 2843 - Directory Listing
Modified Mon Aug 20 09:08:06 2007 UTC (7 years, 2 months ago) by uberlord
No point in having to lots of get the user code.

Revision 2842 - Directory Listing
Modified Fri Aug 17 13:23:43 2007 UTC (7 years, 2 months ago) by uberlord
Mark the right service as failed and only output a new line if we outputted anything at all for /etc/init.d/foo needsme

Revision 2841 - Directory Listing
Modified Fri Aug 17 13:23:02 2007 UTC (7 years, 2 months ago) by uberlord
needsme should always be valid too

Revision 2840 - Directory Listing
Modified Fri Aug 17 12:14:04 2007 UTC (7 years, 2 months ago) by uberlord
Stop un-needed services when changing runlevels, #189050.

Revision 2839 - Directory Listing
Modified Fri Aug 17 11:31:36 2007 UTC (7 years, 2 months ago) by uberlord
When shutting down, stop the service even if dependants failed.

Revision 2838 - Directory Listing
Modified Fri Aug 17 11:01:18 2007 UTC (7 years, 2 months ago) by uberlord
Intergrate our standard options

Revision 2837 - Directory Listing
Modified Fri Aug 17 10:54:04 2007 UTC (7 years, 2 months ago) by uberlord
Allow --user and --group to also mean --chuid and --chgrp

Revision 2836 - Directory Listing
Modified Fri Aug 17 09:46:01 2007 UTC (7 years, 2 months ago) by uberlord
Allow 'del' to work as a command

Revision 2835 - Directory Listing
Modified Thu Aug 16 17:09:57 2007 UTC (7 years, 2 months ago) by uberlord
Fully move esyslog into rc

Revision 2834 - Directory Listing
Modified Thu Aug 16 16:53:20 2007 UTC (7 years, 2 months ago) by uberlord
Add esyslog support

Revision 2831 - Directory Listing
Modified Wed Aug 15 14:49:41 2007 UTC (7 years, 2 months ago) by uberlord
    `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 - Directory Listing
Modified Thu Aug 9 14:33:20 2007 UTC (7 years, 2 months ago) by uberlord
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 2827 - Directory Listing
Modified Thu Aug 9 09:53:47 2007 UTC (7 years, 2 months ago) by uberlord
getoptify and simply the code even more.

Revision 2825 - Directory Listing
Modified Wed Aug 8 22:35:32 2007 UTC (7 years, 2 months ago) by uberlord
Add help to rc-update #188170 and tidy up the code a fair bit.

Revision 2823 - Directory Listing
Modified Wed Aug 8 03:07:42 2007 UTC (7 years, 2 months ago) by uberlord
Plug a leek for non selinux linux systems

Revision 2822 - Directory Listing
Modified Wed Aug 8 03:07:09 2007 UTC (7 years, 2 months ago) by uberlord
    If given a pidfile, just match on that for seeing if we have crashed
    or not, #186159.

Revision 2818 - Directory Listing
Modified Tue Aug 7 20:23:38 2007 UTC (7 years, 2 months ago) by uberlord
More pppd fixes

Revision 2815 - Directory Listing
Modified Sat Aug 4 20:35:05 2007 UTC (7 years, 2 months ago) by uberlord
Boot properly when we cannot set an early font, #187628.

Revision 2814 - Directory Listing
Modified Sat Aug 4 15:05:12 2007 UTC (7 years, 2 months ago) by uberlord
Fix rc-update, #187487 and release rc2.

Revision 2811 - Directory Listing
Modified Fri Aug 3 10:14:38 2007 UTC (7 years, 2 months ago) by uberlord
Wups, these definitions need to be in rc.h really

Revision 2810 - Directory Listing
Modified Thu Aug 2 11:09:09 2007 UTC (7 years, 2 months ago) by uberlord
rc1

Revision 2807 - Directory Listing
Modified Wed Aug 1 11:33:07 2007 UTC (7 years, 2 months ago) by uberlord
Fix up einfo output a little

Revision 2805 - Directory Listing
Modified Tue Jul 31 16:59:02 2007 UTC (7 years, 2 months ago) by uberlord
Wups, don't force those CFLAGS

Revision 2804 - Directory Listing
Modified Tue Jul 31 16:57:16 2007 UTC (7 years, 2 months ago) by uberlord
Force some stuff

Revision 2803 - Directory Listing
Modified Tue Jul 31 16:40:32 2007 UTC (7 years, 2 months ago) by uberlord
Fix building on uclibc thanks to Solar

Revision 2802 - Directory Listing
Modified Tue Jul 31 16:35:24 2007 UTC (7 years, 2 months ago) by uberlord
Fix building on Linux

Revision 2801 - Directory Listing
Modified Tue Jul 31 16:16:18 2007 UTC (7 years, 2 months ago) by uberlord
Link the right objects against rc

Revision 2800 - Directory Listing
Modified Tue Jul 31 16:06:21 2007 UTC (7 years, 2 months ago) by uberlord
    All our binaries are now mulicalls into rc, which makes our on disk size
    a lot smaller.

Revision 2799 - Directory Listing
Modified Tue Jul 31 16:05:56 2007 UTC (7 years, 2 months ago) by uberlord
    All our binaries are now mulicalls into rc, which makes our on disk size
    a lot smaller.

Revision 2794 - Directory Listing
Modified Wed Jul 25 20:58:23 2007 UTC (7 years, 2 months ago) by uberlord
Merge some of reb's OpenBSD fixes in

Revision 2792 - Directory Listing
Modified Mon Jul 23 11:36:12 2007 UTC (7 years, 3 months ago) by uberlord
appending noinitd=xdm will skip the xdm service when first booting, #181858.

Revision 2786 - Directory Listing
Modified Sat Jul 21 12:49:51 2007 UTC (7 years, 3 months ago) by uberlord
    RC_DEPEND_STRICT now controls dependency strictness.
    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.

Revision 2785 - Directory Listing
Modified Thu Jul 19 21:44:55 2007 UTC (7 years, 3 months ago) by uberlord
Skip some files in env-update like portage env-update for more robustness

Revision 2784 - Directory Listing
Modified Mon Jul 16 17:07:15 2007 UTC (7 years, 3 months ago) by uberlord
Use printf so we don't put blank lines at the top of new files and fix mountinfo for nfs roots

Revision 2781 - Directory Listing
Modified Mon Jul 16 12:22:53 2007 UTC (7 years, 3 months ago) by uberlord
Fix compile on FreeBSD

Revision 2780 - Directory Listing
Modified Mon Jul 16 07:19:32 2007 UTC (7 years, 3 months ago) by uberlord
env-update --fork-ldconfig really forks ldconfig and works now

Revision 2776 - Directory Listing
Modified Fri Jul 13 14:30:33 2007 UTC (7 years, 3 months ago) by uberlord
Don't use 'this' as a variable name as it confuses c++

Revision 2773 - Directory Listing
Modified Thu Jul 12 09:48:44 2007 UTC (7 years, 3 months ago) by uberlord
Punt the RC_TTY variable

Revision 2771 - Directory Listing
Modified Wed Jul 11 17:27:46 2007 UTC (7 years, 3 months ago) by uberlord
Don't unmount network filesystems in localmount or halt.sh, #175602.

Revision 2770 - Directory Listing
Modified Wed Jul 11 14:28:54 2007 UTC (7 years, 3 months ago) by uberlord
Fix restarting services with plugins

Revision 2769 - Directory Listing
Modified Wed Jul 11 13:02:05 2007 UTC (7 years, 3 months ago) by uberlord
Don't do interactive when changing init, #174141.

Revision 2768 - Directory Listing
Modified Wed Jul 11 12:06:37 2007 UTC (7 years, 3 months ago) by uberlord
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.

Revision 2765 - Directory Listing
Modified Tue Jul 10 20:11:42 2007 UTC (7 years, 3 months ago) by uberlord
Allow non root users to describe

Revision 2764 - Directory Listing
Modified Tue Jul 10 19:14:37 2007 UTC (7 years, 3 months ago) by uberlord
Rename variable

Revision 2763 - Directory Listing
Modified Tue Jul 10 19:09:41 2007 UTC (7 years, 3 months ago) by uberlord
init scripts and their extra options can now have descriptions, #184327.

Revision 2762 - Directory Listing
Modified Tue Jul 10 15:26:49 2007 UTC (7 years, 3 months ago) by uberlord
Support /etc/init.d/foo ineed and friends again.

Revision 2760 - Directory Listing
Modified Tue Jul 10 13:15:07 2007 UTC (7 years, 3 months ago) by uberlord
Remove a debug line

Revision 2759 - Directory Listing
Modified Tue Jul 10 11:42:56 2007 UTC (7 years, 3 months ago) by uberlord
We no longer care about numerical runlevels, #184733.

Revision 2755 - Directory Listing
Modified Mon Jul 9 10:26:02 2007 UTC (7 years, 3 months ago) by uberlord
Add an option to fork ldconfig in env-update, #182794. Also, preserve the entire line in /etc/env.d/foo if it begins with $

Revision 2750 - Directory Listing
Modified Fri Jul 6 17:07:29 2007 UTC (7 years, 3 months ago) by uberlord
Of course, glibc does not have strlcpy

Revision 2749 - Directory Listing
Modified Fri Jul 6 15:50:40 2007 UTC (7 years, 3 months ago) by uberlord
Make the prefix length dynamic

Revision 2747 - Directory Listing
Modified Thu Jul 5 08:39:32 2007 UTC (7 years, 3 months ago) by uberlord
Don't trust the plugin

Revision 2745 - Directory Listing
Modified Wed Jul 4 16:06:40 2007 UTC (7 years, 3 months ago) by uberlord
Flush the ebuffer before and after running a plugin.

Revision 2744 - Directory Listing
Modified Wed Jul 4 16:02:01 2007 UTC (7 years, 3 months ago) by uberlord
As we're running each plugin in a fork, we need to call our cleanup code so we don't leak memory. To this extent, we now have the global boolean rc_in_plugin and the cleanup code can act accordingly.

Revision 2743 - Directory Listing
Modified Wed Jul 4 14:56:59 2007 UTC (7 years, 3 months ago) by uberlord
We need the full path to the service before chdir /

Revision 2741 - Directory Listing
Modified Tue Jul 3 08:38:27 2007 UTC (7 years, 3 months ago) by uberlord
We still need to wait for services we need/use

Revision 2740 - Directory Listing
Modified Mon Jul 2 22:07:58 2007 UTC (7 years, 3 months ago) by uberlord
Don't wait for services that were inactive, #183667 thanks to Daniel Drake

Revision 2739 - Directory Listing
Modified Mon Jul 2 22:05:38 2007 UTC (7 years, 3 months ago) by uberlord
Make the provided code a little more readable and fix a bug when calculating provided services changing from single to default runlevel

Revision 2738 - Directory Listing
Modified Mon Jul 2 19:57:18 2007 UTC (7 years, 3 months ago) by uberlord
Fix error and only let root run init commands except for status and help

Revision 2735 - Directory Listing
Modified Thu Jun 28 15:44:38 2007 UTC (7 years, 3 months ago) by uberlord
Add --nocolor to more programs

Revision 2734 - Directory Listing
Modified Thu Jun 28 15:44:14 2007 UTC (7 years, 3 months ago) by uberlord
Add --nocolor to more programs

Revision 2733 - Directory Listing
Modified Wed Jun 27 12:35:43 2007 UTC (7 years, 3 months ago) by uberlord
Add --no-ldconfig option to env-update to match portage.

Revision 2732 - Directory Listing
Modified Tue Jun 26 09:20:42 2007 UTC (7 years, 3 months ago) by uberlord
Change pwd to / for all init scripts, #181224.

Revision 2731 - Directory Listing
Modified Tue Jun 26 08:47:46 2007 UTC (7 years, 3 months ago) by uberlord
Change pwd to / for all init scripts, #181224.

Revision 2730 - Directory Listing
Modified Tue Jun 26 08:39:02 2007 UTC (7 years, 3 months ago) by uberlord
--nocolor works again, #181011 thanks to Daniel Drake.

Revision 2716 - Directory Listing
Modified Sun May 27 16:02:25 2007 UTC (7 years, 4 months ago) by uberlord
Improve spelling

Revision 2714 - Directory Listing
Modified Wed May 23 12:30:34 2007 UTC (7 years, 5 months ago) by uberlord
RC_SYS should now set XEN0 correctly

Revision 2713 - Directory Listing
Modified Tue May 22 12:25:43 2007 UTC (7 years, 5 months ago) by uberlord
Create a function for running init.sh and init-early.sh which saves on code and removes a gcc-4.2 warning

Revision 2711 - Directory Listing
Modified Wed May 16 18:45:16 2007 UTC (7 years, 5 months ago) by uberlord
Default eend to SUCCESS if no options given

Revision 2709 - Directory Listing
Modified Wed May 16 11:28:45 2007 UTC (7 years, 5 months ago) by uberlord
Remove debug line

Revision 2708 - Directory Listing
Modified Wed May 16 11:05:42 2007 UTC (7 years, 5 months ago) by uberlord
Stop using getimeofday for timeouts incase the clock changes.

Revision 2706 - Directory Listing
Modified Tue May 15 15:56:35 2007 UTC (7 years, 5 months ago) by uberlord
/etc/conf.d/rc.$runlevel now works, #177869.

Revision 2704 - Directory Listing
Modified Mon May 14 19:50:13 2007 UTC (7 years, 5 months ago) by uberlord
Implement FreeBSD's dlfunc function to avoid ISO warnings on dlsym - thanks to drizztbsd for find public domain code :)

Revision 2703 - Directory Listing
Modified Mon May 14 17:05:55 2007 UTC (7 years, 5 months ago) by uberlord
Use correct function casts. Use dlfunc where available to remove ISO warnings :)

Revision 2700 - Directory Listing
Modified Mon May 14 12:48:37 2007 UTC (7 years, 5 months ago) by uberlord
RC_INTERACTIVE now works, #178331.

Revision 2699 - Directory Listing
Modified Mon May 14 12:37:13 2007 UTC (7 years, 5 months ago) by uberlord
Add --startas back to s-s-d, #175980, #175981.

Revision 2698 - Directory Listing
Modified Mon May 14 12:24:18 2007 UTC (7 years, 5 months ago) by uberlord
    Allow time for pidfiles to be created, #178274.
    Use int instead of char for getopt, #178084 thanks to drizztbsd.

Revision 2692 - Directory Listing
Modified Fri May 11 08:58:19 2007 UTC (7 years, 5 months ago) by uberlord
Use clock MONOTONIC to timeout, not localtime, #177514

Revision 2684 - Directory Listing
Modified Thu May 3 13:46:38 2007 UTC (7 years, 5 months ago) by uberlord
Always pass ttyname to sulogin

Revision 2678 - Directory Listing
Modified Wed May 2 15:17:03 2007 UTC (7 years, 5 months ago) by uberlord
Don't timeout waiting for checkfs and checkroot. Do a better fix later.

Revision 2676 - Directory Listing
Modified Wed May 2 12:33:56 2007 UTC (7 years, 5 months ago) by uberlord
    SSD_NICELEVEL can now affect the nicelevel for daemons started
    by start-stop-daemon, #175397.

Revision 2673 - Directory Listing
Modified Wed May 2 10:43:43 2007 UTC (7 years, 5 months ago) by uberlord
Stop blindly assuming that a blank TERM is cons25. For cons25 terms we drop one column so we don't get an extra newline.

Revision 2669 - Directory Listing
Modified Mon Apr 30 13:18:42 2007 UTC (7 years, 5 months ago) by uberlord
restart/schedule stopped services when the trigger service goes inactive on a restart

Revision 2666 - Directory Listing
Modified Mon Apr 30 09:06:17 2007 UTC (7 years, 5 months ago) by uberlord
    /etc/init.d/foo start and stop no longer exit when service is fully
    started or stopped, #176452.

Revision 2665 - Directory Listing
Modified Fri Apr 27 11:24:05 2007 UTC (7 years, 5 months ago) by uberlord
env-update now respects COLON_SEPARATED and SPACE_SEPARATED env.d values, #176198.

Revision 2659 - Directory Listing
Modified Thu Apr 26 11:24:07 2007 UTC (7 years, 5 months ago) by uberlord
Set fonts in init-early.sh, don't stop services twice when shutting down and lock prefixed output.

Revision 2657 - Directory Listing
Modified Wed Apr 25 18:12:49 2007 UTC (7 years, 5 months ago) by uberlord
Don't abort select when on signals

Revision 2656 - Directory Listing
Modified Wed Apr 25 15:48:54 2007 UTC (7 years, 5 months ago) by uberlord
Don't pass $CONSOLE to sulogin and split rc_environ_fd on NULLs

Revision 2652 - Directory Listing
Modified Wed Apr 25 12:30:24 2007 UTC (7 years, 5 months ago) by uberlord
    We now have an alternative to buffering stdout and stderr.
    RC_PREFIX="yes" will put the service name as a prefix to all output
    made by the service. Thanks to Ciaran McCreesh for the idea.

Revision 2650 - Directory Listing
Modified Tue Apr 24 11:29:19 2007 UTC (7 years, 5 months ago) by uberlord
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.

Revision 2644 - Directory Listing
Modified Sat Apr 21 09:23:37 2007 UTC (7 years, 6 months ago) by uberlord
error then unlink

Revision 2643 - Directory Listing
Modified Sat Apr 21 08:34:16 2007 UTC (7 years, 6 months ago) by uberlord
Don't free in vfork

Revision 2642 - Directory Listing
Modified Fri Apr 20 19:03:56 2007 UTC (7 years, 6 months ago) by uberlord
Style fixes

Revision 2641 - Directory Listing
Modified Fri Apr 20 18:58:42 2007 UTC (7 years, 6 months ago) by uberlord
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 - Directory Listing
Modified Fri Apr 20 15:02:13 2007 UTC (7 years, 6 months ago) by uberlord
Fix rc-abort to notify the plugins we are aborting

Revision 2638 - Directory Listing
Modified Fri Apr 20 13:12:21 2007 UTC (7 years, 6 months ago) by uberlord
Added the rc-abort command, #175106 thanks to Daniel Drake.

Revision 2636 - Directory Listing
Modified Fri Apr 20 09:39:47 2007 UTC (7 years, 6 months ago) by uberlord
Plugins now run in a forked process for extra resliance.

Revision 2635 - Directory Listing
Modified Thu Apr 19 15:31:01 2007 UTC (7 years, 6 months ago) by uberlord
Fix fstabinfo -p /

Revision 2634 - Directory Listing
Modified Thu Apr 19 14:54:35 2007 UTC (7 years, 6 months ago) by uberlord
strdup -> rc_xstrdup

Revision 2633 - Directory Listing
Modified Thu Apr 19 14:41:10 2007 UTC (7 years, 6 months ago) by uberlord
Use RTLD_NOW instead of RTLD_LAZY

Revision 2624 - Directory Listing
Modified Thu Apr 19 06:46:29 2007 UTC (7 years, 6 months ago) by uberlord
Fix bridge some more, remove superflous warning from vewarn and error when no interface correctly

Revision 2619 - Directory Listing
Modified Tue Apr 17 13:00:05 2007 UTC (7 years, 6 months ago) by vapier
remove APPLET check so we can create .depend

Revision 2618 - Directory Listing
Modified Tue Apr 17 12:44:32 2007 UTC (7 years, 6 months ago) by vapier
start unifying help handling

Revision 2617 - Directory Listing
Modified Tue Apr 17 12:21:15 2007 UTC (7 years, 6 months ago) by vapier
fix #if handling in get_term_columns

Revision 2615 - Directory Listing
Modified Tue Apr 17 09:32:18 2007 UTC (7 years, 6 months ago) by uberlord
Rationalise our colour usage a little.

Revision 2613 - Directory Listing
Modified Tue Apr 17 07:06:04 2007 UTC (7 years, 6 months ago) by uberlord
env vars EINFO_GOOD and friends now override our hardcoded builtins.

Revision 2607 - Directory Listing
Modified Fri Apr 13 16:00:25 2007 UTC (7 years, 6 months ago) by uberlord
More basename compliance.

Revision 2606 - Directory Listing
Modified Fri Apr 13 15:23:46 2007 UTC (7 years, 6 months ago) by uberlord
Punt .depend

Revision 2605 - Directory Listing
Modified Fri Apr 13 15:23:03 2007 UTC (7 years, 6 months ago) by uberlord
Ignore and clean .depend

Revision 2604 - Directory Listing
Modified Fri Apr 13 15:20:10 2007 UTC (7 years, 6 months ago) by uberlord
hug getopt_long some more

Revision 2603 - Directory Listing
Modified Fri Apr 13 15:09:37 2007 UTC (7 years, 6 months ago) by vapier
add basic --help

Revision 2598 - Directory Listing
Modified Fri Apr 13 14:18:38 2007 UTC (7 years, 6 months ago) by vapier
add hidden visibility support to libeinfo as well

Revision 2597 - Directory Listing
Modified Fri Apr 13 14:08:16 2007 UTC (7 years, 6 months ago) by vapier
kill off internal relocations for librc.so

Revision 2596 - Directory Listing
Modified Fri Apr 13 13:54:53 2007 UTC (7 years, 6 months ago) by uberlord
Use basename properly

Revision 2595 - Directory Listing
Modified Fri Apr 13 13:21:27 2007 UTC (7 years, 6 months ago) by vapier
make sure .depend gets regenerated automatically

Revision 2594 - Directory Listing
Modified Fri Apr 13 13:20:26 2007 UTC (7 years, 6 months ago) by vapier
add .depend / .PHONY support

Revision 2593 - Directory Listing
Modified Fri Apr 13 13:06:53 2007 UTC (7 years, 6 months ago) by vapier
use CPPFLAGS rather than CFLAGS where appropriate and make LDFLAGS/-rpath dynamic by only enabling when in .svn repo

Revision 2592 - Directory Listing
Modified Fri Apr 13 12:59:12 2007 UTC (7 years, 6 months ago) by vapier
revert previous commit

Revision 2591 - Directory Listing
Modified Fri Apr 13 12:55:43 2007 UTC (7 years, 6 months ago) by vapier
dont create .so links as they arent needed for runtime

Revision 2590 - Directory Listing
Modified Fri Apr 13 12:39:14 2007 UTC (7 years, 6 months ago) by vapier
use ln -sf rather than ln -s incase target exists

Revision 2589 - Directory Listing
Modified Fri Apr 13 12:38:00 2007 UTC (7 years, 6 months ago) by vapier
add a symlink for update-rc -> rc-update

Revision 2587 - Directory Listing
Modified Fri Apr 13 09:21:16 2007 UTC (7 years, 6 months ago) by uberlord
s-s-d now allows --signal to be used without --stop and --oknodo. man page updated accordingly

Revision 2586 - Directory Listing
Modified Fri Apr 13 06:43:00 2007 UTC (7 years, 6 months ago) by uberlord
Fix module loading, #174360. s-s-d now changes group when changing user, #174362.

Revision 2582 - Directory Listing
Modified Thu Apr 12 13:18:52 2007 UTC (7 years, 6 months ago) by uberlord
Style updates

Revision 2581 - Directory Listing
Modified Thu Apr 12 10:40:51 2007 UTC (7 years, 6 months ago) by uberlord
Fix getopt a little

Revision 2580 - Directory Listing
Modified Thu Apr 12 10:08:42 2007 UTC (7 years, 6 months ago) by uberlord
Hug getopt_long even though it's not POSIX. start-stop-daemon has always required this and all our supported platforms have it.

Revision 2578 - Directory Listing
Modified Wed Apr 11 14:52:13 2007 UTC (7 years, 6 months ago) by uberlord
Fix hotplugging of network cards

Revision 2577 - Directory Listing
Modified Wed Apr 11 12:44:47 2007 UTC (7 years, 6 months ago) by uberlord
Cuddle up to LKML C style

Revision 2574 - Directory Listing
Modified Wed Apr 11 10:40:53 2007 UTC (7 years, 6 months ago) by uberlord
Move carrier detection back into net.sh. Reserve a new hook numbers

Revision 2573 - Directory Listing
Modified Wed Apr 11 07:15:02 2007 UTC (7 years, 6 months ago) by uberlord
Add new service hooks, remove pmake stuff from our Makefile and fix rc_services_in_state for scheduled.

Revision 2572 - Directory Listing
Modified Tue Apr 10 16:11:20 2007 UTC (7 years, 6 months ago) by uberlord
Change veinfo and friends to einfov. Rationale - we may need veinfo to support va_list in the future.

Revision 2571 - Directory Listing
Modified Tue Apr 10 14:03:37 2007 UTC (7 years, 6 months ago) by uberlord
int -> time_t

Revision 2569 - Directory Listing
Modified Tue Apr 10 11:24:58 2007 UTC (7 years, 6 months ago) by uberlord
Fix indentation

Revision 2567 - Directory Listing
Modified Tue Apr 10 10:33:44 2007 UTC (7 years, 6 months ago) by uberlord
Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own.

Revision 2564 - Directory Listing
Modified Mon Apr 9 17:11:18 2007 UTC (7 years, 6 months ago) by uberlord
rc does not need SIGCHLD handler. Also, always return 0 in /etc/rc as non zero for default may freeze system.

Revision 2563 - Directory Listing
Modified Mon Apr 9 16:53:21 2007 UTC (7 years, 6 months ago) by uberlord
Use names instead of numbers for reporting signals and trap signals in rc

Revision 2561 - Directory Listing
Modified Sun Apr 8 17:39:59 2007 UTC (7 years, 6 months ago) by uberlord
Only use some gcc flags if gcc actually supports them.

Revision 2560 - Directory Listing
Modified Sun Apr 8 16:03:48 2007 UTC (7 years, 6 months ago) by uberlord
LIBDIR -> LIB. When interuppted, ensure service state is restored correctly. When stopping, don't uncoldplug too early.

Revision 2559 - Directory Listing
Modified Sat Apr 7 10:38:40 2007 UTC (7 years, 6 months ago) by uberlord
Move env-update back to /sbin as everything non baselayout expects it in $PATH, including our documentation

Revision 2556 - Directory Listing
Modified Sat Apr 7 08:46:42 2007 UTC (7 years, 6 months ago) by uberlord
We don't use err.h

Revision 2555 - Directory Listing
Modified Fri Apr 6 23:04:38 2007 UTC (7 years, 6 months ago) by uberlord
Remove this until we can make it work properly - ie not hangup when cable goes in/out

Revision 2553 - Directory Listing
Modified Fri Apr 6 08:37:15 2007 UTC (7 years, 6 months ago) by uberlord
snprintf is better

Revision 2552 - Directory Listing
Modified Fri Apr 6 08:24:48 2007 UTC (7 years, 6 months ago) by uberlord
strcpy is bad

Revision 2550 - Directory Listing
Modified Fri Apr 6 01:04:07 2007 UTC (7 years, 6 months ago) by uberlord
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults

Revision 2549 - Directory Listing
Modified Thu Apr 5 15:01:09 2007 UTC (7 years, 6 months ago) by uberlord
We now compile on OpenBSD (no idea if it works or not yet)

Revision 2548 - Directory Listing
Modified Thu Apr 5 11:42:21 2007 UTC (7 years, 6 months ago) by uberlord
Superfluous CFLAGS

Revision 2547 - Directory Listing
Added Thu Apr 5 11:18:42 2007 UTC (7 years, 6 months ago) by uberlord
    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.

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

  ViewVC Help
Powered by ViewVC 1.1.20