summaryrefslogtreecommitdiff
path: root/init/init.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Update some missing copyright noticesEric Andersen2002-04-131-1/+1
|
* Provide a controlling tty to askfirst processes as wellEric Andersen2002-03-291-1/+1
| | | | -Erik
* Rewind messages to avoid weird formatting, and fix a bug withEric Andersen2002-03-201-22/+22
| | | | CONFIG_FEATURE_EXTRA_QUIET, which was broken
* Update init.c per my changes in the stable branchEric Andersen2002-03-051-222/+269
| | | | -Erik
* Teach 'init -q' that init's pid may not equal 1Eric Andersen2002-01-251-1/+8
|
* Oops.Eric Andersen2002-01-061-1/+1
|
* Do not depend on PATH or getopt arg reorderingEric Andersen2002-01-061-2/+2
|
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-2/+2
|
* Add in a new restart init target, triggered by SIGHUP. Patch fromEric Andersen2001-12-171-1/+32
| | | | | Russ Dill, with adjustments by me. -Erik
* Patch from Dan Langlois <dan@somanetworks.com> Support SIGSTOP/SIGCONTEric Andersen2001-11-301-0/+31
| | | | | for wierd situations when people want init to actualy stop doing anything for a while...
* Fix dangling commaEric Andersen2001-11-211-1/+1
|
* S390 wierdnessEric Andersen2001-11-201-2/+8
|
* Hide some ifdefs to make it more readibleEric Andersen2001-11-171-24/+15
|
* As Aaron Lehmann just pointed out, I forgot a line...Eric Andersen2001-10-281-0/+1
|
* Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen2001-10-281-46/+51
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-16/+16
| | | | -Erik
* Scrub up some function prototypes.Eric Andersen2001-10-181-4/+4
| | | | -Erik
* Two patches from Magick <magick@linux-fan.com>:Eric 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.
* Add support for devfs device names.Matt Kraai2001-07-231-17/+9
|
* Some patches to make dietlibc work...Eric Andersen2001-07-221-1/+1
|
* Only use a login shell when it will run on a console.Matt Kraai2001-06-121-10/+11
|
* Loop forever instead of exiting.Matt Kraai2001-06-031-9/+12
|
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-231-2/+2
|
* Changed snprintf copies to use strncpy at the suggestion of Aaron Lehmann.Matt Kraai2001-05-181-8/+8
|
* Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric 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
* A patch from Marc Karasek and Kanoj (kernel serial.c maintainer)Eric 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
* Fix comment.Matt Kraai2001-04-121-1/+1
|
* "I will always compile before I commit" x 100Eric Andersen2001-04-091-0/+1
|
* Update how we detect if libc5 is in use.Eric Andersen2001-04-091-7/+7
| | | | -Erik
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-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
* A patch from Matt Kraai that adds a new 'shutdown' action to busybox init. NowEric Andersen2001-04-031-7/+16
| | | | | you can specify an arbitrary behavior for 'ctrlaltdel' without that behavior needing to be a reboot.
* A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen2001-03-211-1/+0
| | | | cleans up most of the now-revealed problems.
* Fix up command line munging in init. Postpone the askfirst thing tillEric Andersen2001-03-201-64/+76
| | | | a bit later in run().
* A patch from Andreas Neuhaus to be especially careful to not dupEric Andersen2001-03-161-10/+17
| | | | any env variables when spawning child processes.
* A better fix. Read nextPtr before mem gets freed.Eric Andersen2001-03-151-4/+8
| | | | -Erik
* Prevent init from potentially using already freed memory whenEric Andersen2001-03-151-6/+6
| | | | | deleting an initAction, fixing a bug pointed out by Andreas Neuhaus -Erik
* Fix init so that checking for terminal devices is delayed until theEric Andersen2001-03-141-8/+6
| | | | | | devices are actually used, thereby allowing devfsd based systems to work. This should fix bug #1133 -Erik
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-4/+4
| | | | namespace polluting things that really should be static.
* Patch from Vladimir to make sure PATH is set correctly.Eric Andersen2001-03-041-1/+1
|
* I should be more careful...Eric Andersen2001-02-231-2/+4
|
* Add in kent robotti's updated dos2unix.cEric Andersen2001-02-221-2/+1
|
* Make init compile when DEBUG_INIT is enabledEric Andersen2001-02-221-3/+2
| | | | -Erik
* Revert my change to do extra termType checking. That is done elsewhere.Eric Andersen2001-02-221-3/+0
| | | | | Silly me. -Erik
* Commit a patch from Erik Gustavsson <cyrano@algonet.se>, to allowEric Andersen2001-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
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-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
* Throw out the obsolete INIT_CHROOT junkEric Andersen2001-02-171-91/+0
|
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-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.
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen2001-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
* Patch from Vladimir N. Oleynik to simplify/cleanup a few things in init.cEric Andersen2001-01-311-6/+4
|
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-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