aboutsummaryrefslogtreecommitdiff
path: root/init/init.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-071-1/+1
| | | | | | | 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-251-1/+1
| | | | | | | -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
* 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
* 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
* Upates to include copyright 2000 to everythingerik2000-04-131-1/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more minor updates to better use some gcc attributes.erik2000-04-061-0/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@436 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor structural change to allow core dumping(or not) from initerik2000-04-041-2/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@426 69ca8d6d-28ef-0310-b511-8ec308f3f277
* minor changes to mount/umount to support-by-ignoring the "-v" flag.erik2000-04-041-2/+22
| | | | | | | | | Added optional core dumping as a feature for init, and include a rewrite of syslogd so that it now supports multiple concurrent connections. -Erik git-svn-id: svn://busybox.net/trunk/busybox@425 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My latest ramblings.erik2000-03-231-0/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug in memory total checking.erik2000-03-201-41/+40
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@414 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Adjust the termio settings, and don't use octal since iterik2000-03-191-8/+10
| | | | | | | | is impossible to read by mere mortals. -Erik git-svn-id: svn://busybox.net/trunk/busybox@411 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bugs related to finding PIDs.erik2000-03-071-5/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a #define to make init extra quiet on boot.erik2000-03-071-2/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few updates (including the cp fix the Craig has been looking for)erik2000-03-041-2/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@386 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor tweak to argv[0] handling for linuxrcerik2000-02-241-4/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@384 69ca8d6d-28ef-0310-b511-8ec308f3f277