summaryrefslogtreecommitdiff
path: root/init (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Update init.c per my changes in the stable branchEric Andersen2002-03-051-222/+269
| | | | -Erik
* Patch from Russ Dill <Russ.Dill@asu.edu>. From theEric Andersen2002-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
* 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
|
* Vodz' last_patch31Eric Andersen2001-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
* Add in a new restart init target, triggered by SIGHUP. Patch fromEric Andersen2001-12-171-1/+32
| | | | | Russ Dill, with adjustments by me. -Erik
* If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen2001-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
* 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
|
* Cleanup some config problems. Add a sane default config that basicallyEric Andersen2001-11-101-2/+2
| | | | matches the default old Config.h
* Add the run-parts applet submitted by Emanuele AinaEric Andersen2001-10-311-0/+294
| | | | <emanuele.aina@tiscali.it>
* Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>Eric Andersen2001-10-312-0/+3
|
* patch from vodz:Eric Andersen2001-10-311-36/+26
| | | | | I reduce 148 bytes from start_stop_daemon.c code. Also reduced memory allocated.
* 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
|
* Fixup the location of pwd.h and grp.hEric Andersen2001-10-241-1/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-246-19/+83
| | | | -Erik
* Commit the start-stop-daemon applet. This was contributed by DavidEric Andersen2001-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!
* Scrub up some function prototypes.Eric Andersen2001-10-181-4/+4
| | | | -Erik
* Fix a nasty bug with variable name shadowingEric Andersen2001-10-183-3/+3
|
* Look for either "init" or "linuxrc" processesEric Andersen2001-10-033-6/+15
|
* 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
|
* Be extra extra careful about what we dereference.Eric Andersen2001-07-053-3/+12
|
* 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-032-9/+18
| | | | | 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
|