aboutsummaryrefslogtreecommitdiff
path: root/init (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hide some ifdefs to make it more readibleandersen2001-11-171-24/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup some config problems. Add a sane default config that basicallyandersen2001-11-101-2/+2
| | | | | | | matches the default old Config.h git-svn-id: svn://busybox.net/trunk/busybox@3648 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the run-parts applet submitted by Emanuele Ainaandersen2001-10-311-0/+294
| | | | | | | <emanuele.aina@tiscali.it> git-svn-id: svn://busybox.net/trunk/busybox@3615 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>andersen2001-10-312-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3612 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch from vodz:andersen2001-10-311-36/+26
| | | | | | | | I reduce 148 bytes from start_stop_daemon.c code. Also reduced memory allocated. git-svn-id: svn://busybox.net/trunk/busybox@3606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As Aaron Lehmann just pointed out, I forgot a line...andersen2001-10-281-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in some (theoretical) uClinux support. Some init cleanupsandersen2001-10-281-46/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3596 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup the location of pwd.h and grp.handersen2001-10-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3572 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-246-19/+83
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit the start-stop-daemon applet. This was contributed by Davidandersen2001-10-181-0/+271
| | | | | | | | | Kimdon <dwhedon@gordian.com> on october 7th -- the day I was fired from Lineo. So it seems I totally forgot about this patch until now. Sorry about that David! git-svn-id: svn://busybox.net/trunk/busybox@3546 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub up some function prototypes.andersen2001-10-181-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a nasty bug with variable name shadowingandersen2001-10-183-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3537 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Look for either "init" or "linuxrc" processesandersen2001-10-033-6/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3476 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Two patches from Magick <magick@linux-fan.com>:andersen2001-09-051-19/+24
| | | | | | | | | | 1st makes init smaller, and fixes a bug with AskFirst. Reading from /dev/null gives EOF. 2nd makes init run the command's in the order of inittab, as in FIFO instead of LIFO. git-svn-id: svn://busybox.net/trunk/busybox@3399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for devfs device names.kraai2001-07-231-17/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3136 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some patches to make dietlibc work...andersen2001-07-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be extra extra careful about what we dereference.andersen2001-07-053-3/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3004 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Only use a login shell when it will run on a console.kraai2001-06-121-10/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Loop forever instead of exiting.kraai2001-06-031-9/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2788 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry to fix some grammar errors.andersen2001-05-231-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed snprintf copies to use strncpy at the suggestion of Aaron Lehmann.kraai2001-05-181-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move messages.c to libbb. Make each string in messages.c be its own .o file.andersen2001-04-251-3/+0
| | | | | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Marc Karasek and Kanoj (kernel serial.c maintainer)andersen2001-04-231-1/+2
| | | | | | | | | so init will work on serial consoles with 2.4.3+ kernels, thanks to Fabrice Gautier <gautier@email.enst.fr> for finding this one. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2401 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix comment.kraai2001-04-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2338 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "I will always compile before I commit" x 100andersen2001-04-091-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2293 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update how we detect if libc5 is in use.andersen2001-04-091-7/+7
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2292 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-04-051-3/+1
| | | | | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Matt Kraai that adds a new 'shutdown' action to busybox init. Nowandersen2001-04-032-9/+18
| | | | | | | | you can specify an arbitrary behavior for 'ctrlaltdel' without that behavior needing to be a reboot. git-svn-id: svn://busybox.net/trunk/busybox@2232 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A nice patch from Larry Doolittle that adds -Wshadow andandersen2001-03-211-1/+0
| | | | | | | cleans up most of the now-revealed problems. git-svn-id: svn://busybox.net/trunk/busybox@2177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up command line munging in init. Postpone the askfirst thing tillandersen2001-03-201-64/+76
| | | | | | | a bit later in run(). git-svn-id: svn://busybox.net/trunk/busybox@2172 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Andreas Neuhaus to be especially careful to not dupandersen2001-03-161-10/+17
| | | | | | | any env variables when spawning child processes. git-svn-id: svn://busybox.net/trunk/busybox@2116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A better fix. Read nextPtr before mem gets freed.andersen2001-03-151-4/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Prevent init from potentially using already freed memory whenandersen2001-03-151-6/+6
| | | | | | | | deleting an initAction, fixing a bug pointed out by Andreas Neuhaus -Erik git-svn-id: svn://busybox.net/trunk/busybox@2095 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix init so that checking for terminal devices is delayed until theandersen2001-03-141-8/+6
| | | | | | | | | devices are actually used, thereby allowing devfsd based systems to work. This should fix bug #1133 -Erik git-svn-id: svn://busybox.net/trunk/busybox@2072 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A cleanup patch from Jeff Garzik to static-ify a number ofandersen2001-03-091-4/+4
| | | | | | | namespace polluting things that really should be static. git-svn-id: svn://busybox.net/trunk/busybox@2027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir to make sure PATH is set correctly.andersen2001-03-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1963 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I should be more careful...andersen2001-02-231-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1892 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in kent robotti's updated dos2unix.candersen2001-02-221-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make init compile when DEBUG_INIT is enabledandersen2001-02-221-3/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1880 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert my change to do extra termType checking. That is done elsewhere.andersen2001-02-221-3/+0
| | | | | | | | Silly me. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1878 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit a patch from Erik Gustavsson <cyrano@algonet.se>, to allowandersen2001-02-201-4/+15
| | | | | | | | | | environment variables set from the kernel command line to be inherited bu application programs. Slightly changed to special case handling of TERM, so that it has sane defaults when on a serial console. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1869 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-201-4/+4
| | | | | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Throw out the obsolete INIT_CHROOT junkandersen2001-02-171-91/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1841 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-141-3/+1
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesandersen2001-02-011-4/+0
| | | | | | | | | | to multibuild.pl. I did a little formatting adjustments to make it _very_ obvious when things stop working. I also removed the USE_PROCFS config option -- just do the right thing when USE_DEVPS_PATCH is enabled. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1739 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir N. Oleynik to simplify/cleanup a few things in init.candersen2001-01-311-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-271-0/+3
| | | | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in Larry's CUSTOMIZED_BANNER patchlet, and let folks know thatandersen2001-01-251-0/+8
| | | | | | | | BB_FEATURE_INIT_CHROOT needs to be rewritten to use pivot_root. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1661 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple of updates to fix some minor cross compiling issuesandersen2000-12-131-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1446 69ca8d6d-28ef-0310-b511-8ec308f3f277