aboutsummaryrefslogtreecommitdiff
path: root/init/init.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Tim Riker to allow tty* in inittab if the ttyandersen2002-07-291-45/+14
| | | | | | | actually exists -- serial console is not the issue... git-svn-id: svn://busybox.net/trunk/busybox@5112 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is last_patch48 from vodz. More cleanups, kills a bitandersen2002-07-031-19/+21
| | | | | | | of dead code, fixes one blatent bug. git-svn-id: svn://busybox.net/trunk/busybox@5012 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch47 from vodz to fix several problems, such as the ash "jobandersen2002-07-031-24/+31
| | | | | | | | | | control turned off" bug, console_setup() was called with a closed file descriptor, setsid() inconsistancy, and silly string handling bugs. I have modified his patch to allow the askfirst init actions to have a controlling terminal. git-svn-id: svn://busybox.net/trunk/busybox@5002 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix from vodz so that complex init commands actually workandersen2002-07-031-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4995 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from till busch <buti@gmx.at> -- unblock all signalsandersen2002-07-031-0/+16
| | | | | | | in exec_signal() before calling exec() git-svn-id: svn://busybox.net/trunk/busybox@4992 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doh! Remember to close /etc/inittabandersen2002-05-151-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update some missing copyright noticesandersen2002-04-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Provide a controlling tty to askfirst processes as wellandersen2002-03-291-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4500 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewind messages to avoid weird formatting, and fix a bug withandersen2002-03-201-22/+22
| | | | | | | CONFIG_FEATURE_EXTRA_QUIET, which was broken git-svn-id: svn://busybox.net/trunk/busybox@4446 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update init.c per my changes in the stable branchandersen2002-03-051-222/+269
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach 'init -q' that init's pid may not equal 1andersen2002-01-251-1/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4111 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops.andersen2002-01-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not depend on PATH or getopt arg reorderingandersen2002-01-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4026 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in a new restart init target, triggered by SIGHUP. Patch fromandersen2001-12-171-1/+32
| | | | | | | | Russ Dill, with adjustments by me. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3896 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Dan Langlois <dan@somanetworks.com> Support SIGSTOP/SIGCONTandersen2001-11-301-0/+31
| | | | | | | | for wierd situations when people want init to actualy stop doing anything for a while... git-svn-id: svn://busybox.net/trunk/busybox@3821 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dangling commaandersen2001-11-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* S390 wierdnessandersen2001-11-201-2/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3743 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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
* 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
* Major rework of the directory structure and the entire build system.andersen2001-10-241-16/+16
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 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
* 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
* 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-031-7/+16
| | | | | | | | 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