aboutsummaryrefslogtreecommitdiff
path: root/init (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
* Scrub pwd.h and grp.h handling so we don't have to play anyandersen2002-07-031-1/+1
| | | | | | | | silly games. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5011 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
* plug fd leak noticed by Russ Dillandersen2002-06-051-0/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4858 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for broken handling off BusyBox's own pwd/grp implementationssandman2002-06-041-1/+1
| | | | | | | [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4856 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-134-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Completely rework the config system so that it no longer annoys me to work onandersen2002-04-122-19/+46
| | | | | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4595 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
* Patch from Russ Dill <Russ.Dill@asu.edu>. From theandersen2002-01-261-1/+10
| | | | | | | | | | | | | | | | | | | start-stop-daemon man page: -b|--background Typically used with programs that don't detach on their own. This option will force start-stop-daemon to fork before starting the process, and force it into the background. WARNING: start-stop-daemon cannot check the exit status if the process fails to execute for any reason. This is a last resort, and is only meant for programs that either make no sense forking on their own, or where it's not feasible to add the code for it to do this itself. This is usefull for applets like watchdog git-svn-id: svn://busybox.net/trunk/busybox@4112 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
* Vodz' last_patch31andersen2001-12-181-66/+23
| | | | | | | | | | | | | | | | Very minimal last corrections: 1) busybox.c: fix warining 2) docs/: add applets for list from pwd_grp 3) usage.h: add -n option for route 4) run_parts.c: many todo fix for busybox style 5) addgroup.c: add #ifdef CONFIG_FEATURE_SHADOWPASSWDS, reduce one perror_msg 6) adduser.c: fix bug "variable i not initialize" and add #ifdef CONFIG_FEATURE_SHADOWPASSWDS git-svn-id: svn://busybox.net/trunk/busybox@3900 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
* If find_pid_by_name() had an error, it was returning -1, but storingandersen2001-12-063-3/+3
| | | | | | | | | | | that into a pid_t, which is unsigned on a number archs. Furthermore, find_pid_by_name() would _never_ return an error if the intended proces was "init", but instead would return 1, meaning we would fail to work on 2.4.x kernels running an initrd... -Erik git-svn-id: svn://busybox.net/trunk/busybox@3854 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
* 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