aboutsummaryrefslogtreecommitdiff
path: root/init (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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.