/[baselayout]/trunk/src
Gentoo

Log of /trunk/src

View Directory Listing Directory Listing



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

Revision 2923 - Directory Listing
Modified Tue Sep 25 16:21:38 2007 UTC (6 years, 11 months 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 (6 years, 11 months 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 (6 years, 11 months 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 ago) by uberlord
Add extraopts to our usage

Revision 2904 - Directory Listing
Modified Fri Sep 21 08:49:43 2007 UTC (7 years 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 ago) by uberlord
whitespace

Revision 2901 - Directory Listing
Modified Thu Sep 20 11:47:04 2007 UTC (7 years 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 ago) by uberlord
Warn if file/directory mismatch

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

Revision 2898 - Directory Listing
Modified Wed Sep 19 16:54:23 2007 UTC (7 years 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 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 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 ago) by uberlord
/lib/rcscripts -> /lib/rc

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

Revision 2893 - Directory Listing
Modified Wed Sep 19 09:00:43 2007 UTC (7 years 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 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 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 ago) by uberlord
Clarify strlist_join behaviour

Revision 2886 - Directory Listing
Modified Tue Sep 18 14:08:56 2007 UTC (7 years 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 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 ago) by uberlord
Don't space separate the options

Revision 2883 - Directory Listing
Modified Tue Sep 18 12:04:51 2007 UTC (7 years 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 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 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 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 ago) by uberlord
More --as-needed foo

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

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

Revision 2868 - Directory Listing
Modified Thu Sep 6 13:00:03 2007 UTC (7 years 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 ago) by uberlord
strdup -> rc_xstrdup

Revision 2866 - Directory Listing
Modified Tue Sep 4 09:32:36 2007 UTC (7 years 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 ago) by uberlord
Add --quiet to mountinfo

Revision 2860 - Directory Listing
Modified Sat Sep 1 00:51:41 2007 UTC (7 years 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 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 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 ago) by uberlord
Use correct defines

Revision 2855 - Directory Listing
Modified Tue Aug 28 13:06:44 2007 UTC (7 years 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 ago) by uberlord
#define shutdown

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

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

Revision 2847 - Directory Listing
Modified Wed Aug 22 14:10:46 2007 UTC (7 years, 1 month 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, 1 month 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, 1 month 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, 1 month ago) by uberlord
needsme should always be valid too

Revision 2840 - Directory Listing
Modified Fri Aug 17 12:14:04 2007 UTC (7 years, 1 month 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, 1 month 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, 1 month ago) by uberlord
Intergrate our standard options

Revision 2837 - Directory Listing
Modified Fri Aug 17 10:54:04 2007 UTC (7 years, 1 month 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, 1 month 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, 1 month ago) by uberlord
Fully move esyslog into rc

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

Revision 2831 - Directory Listing
Modified Wed Aug 15 14:49:41 2007 UTC (7 years, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month ago) by uberlord
More pppd fixes

Revision 2815 - Directory Listing
Modified Sat Aug 4 20:35:05 2007 UTC (7 years, 1 month 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, 1 month 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, 1 month 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, 1 month ago) by uberlord
rc1

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

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

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

Revision 2803 - Directory Listing
Modified Tue Jul 31 16:40:32 2007 UTC (7 years, 1 month 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, 1 month ago) by uberlord
Fix building on Linux

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

Revision 2800 - Directory Listing
Modified Tue Jul 31 16:06:21 2007 UTC (7 years, 1 month 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, 1 month 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, 2 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, 2 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, 2 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, 2 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, 2 months ago) by uberlord
Fix compile on FreeBSD

Revision 2780 - Directory Listing
Modified Mon Jul 16 07:19:32 2007 UTC (7 years, 2 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, 2 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, 2 months ago) by uberlord
Punt the RC_TTY variable

Revision 2771 - Directory Listing
Modified Wed Jul 11 17:27:46 2007 UTC (7 years, 2 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, 2 months ago) by uberlord
Fix restarting services with plugins

Revision 2769 - Directory Listing
Modified Wed Jul 11 13:02:05 2007 UTC (7 years, 2 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, 2 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, 2 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, 2 months ago) by uberlord
Rename variable

Revision 2763 - Directory Listing
Modified Tue Jul 10 19:09:41 2007 UTC (7 years, 2 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, 2 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, 2 months ago) by uberlord
Remove a debug line

Revision 2759 - Directory Listing
Modified Tue Jul 10 11:42:56 2007 UTC (7 years, 2 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, 2 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, 2 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, 2 months ago) by uberlord
Make the prefix length dynamic

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

Revision 2745 - Directory Listing
Modified Wed Jul 4 16:06:40 2007 UTC (7 years, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 months ago) by uberlord
Add --nocolor to more programs

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

Revision 2733 - Directory Listing
Modified Wed Jun 27 12:35:43 2007 UTC (7 years, 2 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, 2 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, 2 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, 2 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, 3 months ago) by uberlord
Improve spelling

Revision 2714 - Directory Listing
Modified Wed May 23 12:30:34 2007 UTC (7 years, 4 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, 4 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, 4 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, 4 months ago) by uberlord
Remove debug line

Revision 2708 - Directory Listing
Modified Wed May 16 11:05:42 2007 UTC (7 years, 4 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, 4 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, 4 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, 4 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, 4 months ago) by uberlord
RC_INTERACTIVE now works, #178331.

Revision 2699 - Directory Listing
Modified Mon May 14 12:37:13 2007 UTC (7 years, 4 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, 4 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, 4 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, 4 months ago) by uberlord
Always pass ttyname to sulogin

Revision 2678 - Directory Listing
Modified Wed May 2 15:17:03 2007 UTC (7 years, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 5 months ago) by uberlord
error then unlink

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

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

Revision 2641 - Directory Listing
Modified Fri Apr 20 18:58:42 2007 UTC (7 years, 5 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, 5 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, 5 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, 5 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, 5 months ago) by uberlord
Fix fstabinfo -p /

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

Revision 2633 - Directory Listing
Modified Thu Apr 19 14:41:10 2007 UTC (7 years, 5 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, 5 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, 5 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, 5 months ago) by vapier
start unifying help handling

Revision 2617 - Directory Listing
Modified Tue Apr 17 12:21:15 2007 UTC (7 years, 5 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, 5 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, 5 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, 5 months ago) by uberlord
More basename compliance.

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

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

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

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

Revision 2598 - Directory Listing
Modified Fri Apr 13 14:18:38 2007 UTC (7 years, 5 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, 5 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, 5 months ago) by uberlord
Use basename properly

Revision 2595 - Directory Listing
Modified Fri Apr 13 13:21:27 2007 UTC (7 years, 5 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, 5 months ago) by vapier
add .depend / .PHONY support

Revision 2593 - Directory Listing
Modified Fri Apr 13 13:06:53 2007 UTC (7 years, 5 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, 5 months ago) by vapier
revert previous commit

Revision 2591 - Directory Listing
Modified Fri Apr 13 12:55:43 2007 UTC (7 years, 5 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, 5 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, 5 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, 5 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, 5 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, 5 months ago) by uberlord
Style updates

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

Revision 2580 - Directory Listing
Modified Thu Apr 12 10:08:42 2007 UTC (7 years, 5 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, 5 months ago) by uberlord
Fix hotplugging of network cards

Revision 2577 - Directory Listing
Modified Wed Apr 11 12:44:47 2007 UTC (7 years, 5 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, 5 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, 5 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, 5 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, 5 months ago) by uberlord
int -> time_t

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

Revision 2567 - Directory Listing
Modified Tue Apr 10 10:33:44 2007 UTC (7 years, 5 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, 5 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, 5 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, 5 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, 5 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, 5 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, 5 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, 5 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, 5 months ago) by uberlord
snprintf is better

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

Revision 2550 - Directory Listing
Modified Fri Apr 6 01:04:07 2007 UTC (7 years, 5 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, 5 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, 5 months ago) by uberlord
Superfluous CFLAGS

Revision 2547 - Directory Listing
Added Thu Apr 5 11:18:42 2007 UTC (7 years, 5 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