summaryrefslogtreecommitdiff
path: root/init.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add in Larry's CUSTOMIZED_BANNER patchlet, and let folks know thatEric Andersen2001-01-251-0/+8
| | | | | BB_FEATURE_INIT_CHROOT needs to be rewritten to use pivot_root. -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-7/+7
|
* A couple of updates to fix some minor cross compiling issuesEric Andersen2000-12-131-1/+0
|
* Cleanup for proper compilation with uClibc.Eric Andersen2000-12-121-1/+2
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-1/+1
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Close but #1071...Eric Andersen2000-12-061-17/+14
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Hard code the name of init.Eric Andersen2000-09-211-1/+2
|
* Don't suppress output of umount and swapoff - it is both unwisePavel Roskin2000-09-151-2/+2
| | | | and incompatible with lash that doesn't support >&1 yet.
* For "askfirst" don't just read one char from stdin,Pavel Roskin2000-09-141-2/+1
| | | | | read the whole line using getc(), so that everything before Enter gets discarded.
* Add in a patch from robotti@metconnect.com and Chip Rosenthal to makeEric Andersen2000-09-141-12/+54
| | | | | init do login shell stuff. -Erik
* Ensure forked processes always are on a controlling tty, so theEric Andersen2000-09-131-1/+2
| | | | | ^C can be properly sent to /dev/console. -Erik
* Make init handle current 2.4.x sysinfo behaviorEric Andersen2000-09-101-12/+9
| | | | -Erik
* Set environment variable to make ash happy. ash is a frequent enoughEric Andersen2000-09-051-0/+1
| | | | target....
* New message added to messages.c: full_versionPavel Roskin2000-07-171-4/+6
| | | | Used where possible
* Fixed a warning about missing initializerPavel Roskin2000-07-141-1/+1
|
* Use global applet_name instead of local versions.Matt Kraai2000-07-121-1/+1
|
* Forgot to commit these cleanups it seems.Eric Andersen2000-07-111-1/+0
| | | | -Erik
* Remove yet more kernel header dependancies.Eric Andersen2000-07-101-1/+1
| | | | -Erik
* Remove the problematic CTRLCHAR macro.Eric Andersen2000-07-101-10/+8
| | | | -Erik