aboutsummaryrefslogtreecommitdiff
path: root/init (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Throw out the obsolete INIT_CHROOT junkandersen2001-02-171-91/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1841 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1739 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir N. Oleynik to simplify/cleanup a few things in init.candersen2001-01-311-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in Larry's CUSTOMIZED_BANNER patchlet, and let folks know thatandersen2001-01-251-0/+8
| | | | | | | | BB_FEATURE_INIT_CHROOT needs to be rewritten to use pivot_root. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1661 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple of updates to fix some minor cross compiling issuesandersen2000-12-131-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1446 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup for proper compilation with uClibc.andersen2000-12-121-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-074-4/+4
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Close but #1071...andersen2000-12-061-17/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1389 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-254-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Hard code the name of init.andersen2000-09-211-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't suppress output of umount and swapoff - it is both unwiseproski2000-09-151-2/+2
| | | | | | | and incompatible with lash that doesn't support >&1 yet. git-svn-id: svn://busybox.net/trunk/busybox@1055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* For "askfirst" don't just read one char from stdin,proski2000-09-141-2/+1
| | | | | | | | read the whole line using getc(), so that everything before Enter gets discarded. git-svn-id: svn://busybox.net/trunk/busybox@1053 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in a patch from robotti@metconnect.com and Chip Rosenthal to makeandersen2000-09-141-12/+54
| | | | | | | | init do login shell stuff. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1052 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ensure forked processes always are on a controlling tty, so theandersen2000-09-131-1/+2
| | | | | | | | ^C can be properly sent to /dev/console. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1043 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make init handle current 2.4.x sysinfo behaviorandersen2000-09-101-12/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Set environment variable to make ash happy. ash is a frequent enoughandersen2000-09-051-0/+1
| | | | | | | target.... git-svn-id: svn://busybox.net/trunk/busybox@1009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Centralize handling of --help.kraai2000-07-193-9/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add usage messages for applets without them.kraai2000-07-193-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@881 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New message added to messages.c: full_versionproski2000-07-171-4/+6
| | | | | | | Used where possible git-svn-id: svn://busybox.net/trunk/busybox@871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a warning about missing initializerproski2000-07-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use global applet_name instead of local versions.kraai2000-07-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Forgot to commit these cleanups it seems.andersen2000-07-111-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove yet more kernel header dependancies.andersen2000-07-101-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the problematic CTRLCHAR macro.andersen2000-07-101-10/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update files to reduce dependance on kernel version...andersen2000-07-081-12/+30
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug #1003 -- BusyBox should now poweroff when asked toandersen2000-07-071-1/+1
| | | | | | | | do so... Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik git-svn-id: svn://busybox.net/trunk/busybox@768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed backspace and delete so they work properly again -- brokenandersen2000-07-061-2/+2
| | | | | | | | since 0.44. -Erik git-svn-id: svn://busybox.net/trunk/busybox@759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change order.andersen2000-07-061-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a few minor cleanups.andersen2000-07-061-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@746 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fix to init.c from Stuart Menefy <Stuart.Menefy@st.com> so thatandersen2000-07-041-0/+1
| | | | | | | | it always sets the controlling terminal before running any programs -Erik git-svn-id: svn://busybox.net/trunk/busybox@732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better cross libc support.andersen2000-06-281-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@718 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries inandersen2000-06-261-3/+17
| | | | | | | | /proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik git-svn-id: svn://busybox.net/trunk/busybox@701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make syslogd.c, init.c, and update.c compile error/warning free under both ↵andersen2000-06-191-1/+1
| | | | | | | | | libc5 and libc6. -Erik git-svn-id: svn://busybox.net/trunk/busybox@664 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-193-6/+6
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor doc fix. Added several bugs to the todo list. Fixed the way initandersen2000-05-311-27/+32
| | | | | | | | scans /etc/inittab entries so that commands can contain ":"s. -Erik git-svn-id: svn://busybox.net/trunk/busybox@584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More libc portability updates, add in the website (which has not beenerik2000-05-191-1/+1
| | | | | | | | archived previously). Wrote 'which' during the meeting today. -Erik git-svn-id: svn://busybox.net/trunk/busybox@558 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatest. Some effort at libc5 (aiming towards newlib)erik2000-04-281-18/+43
| | | | | | | | compatability. -Erik git-svn-id: svn://busybox.net/trunk/busybox@499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More Doc updates. cmdedit and more termio fixes.erik2000-04-211-8/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@492 69ca8d6d-28ef-0310-b511-8ec308f3f277