aboutsummaryrefslogtreecommitdiff
path: root/init/reboot.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* As vodz noticed, I screwed up rebootandersen2003-07-221-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support reboot, halt, and poweroff independent of busybox init.andersen2003-07-221-33/+6
| | | | | | | | Simplify and fixup some logic. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7091 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove remaining libc5 support codeandersen2003-07-221-10/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch93 from vodz:andersen2003-06-271-35/+7
| | | | | | | | | | | | | | | | andersen@busybox.net wrote: >Message: 4 >Modified Files: > init.c >Log Message: >Remove code for unsupported kernel versions Hmm. Current init.c have check >= 2.2.0 kernel one time too. Ok. Last patch removed this point and move common init code to new file for /init dir git-svn-id: svn://busybox.net/trunk/busybox@7008 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* include "busybox" after the libc includes tofix compile errorsbug12002-12-071-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6129 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from David McCullough <davidm@snapgear.com>andersen2002-09-171-5/+72
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update some missing copyright noticesandersen2002-04-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If find_pid_by_name() had an error, it was returning -1, but storingandersen2001-12-061-1/+1
| | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@3854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a nasty bug with variable name shadowingandersen2001-10-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3537 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Look for either "init" or "linuxrc" processesandersen2001-10-031-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3476 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be extra extra careful about what we dereference.andersen2001-07-051-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3004 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Matt Kraai that adds a new 'shutdown' action to busybox init. Nowandersen2001-04-031-2/+2
| | | | | | | | you can specify an arbitrary behavior for 'ctrlaltdel' without that behavior needing to be a reboot. git-svn-id: svn://busybox.net/trunk/busybox@2232 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
* 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
* Centralize handling of --help.kraai2000-07-191-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add usage messages for applets without them.kraai2000-07-191-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@881 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-191-2/+2
| | | | | | | | 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
* Patch to make killall actually kill all PIDs with the specified name,erik2000-04-071-1/+1
| | | | | | | | | | rather then busylooping trying to kill the first one until it dies. Should be more efficient now, and will only send one signal to each specified process. -Erik git-svn-id: svn://busybox.net/trunk/busybox@437 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bugs related to finding PIDs.erik2000-03-071-0/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Wrote killall.erik2000-03-071-1/+1
| | | | | | | | | Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@393 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few updates (including the cp fix the Craig has been looking for)erik2000-03-041-0/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@386 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added poweroff (and adjusted init to use it). Inlined functionandersen1999-12-101-1/+1
| | | | | | | | calls to code only called once in tee. Made BB_KLOGD and option. -Erik git-svn-id: svn://busybox.net/trunk/busybox@199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Adjustments for Johns init stuff,andersen1999-12-091-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@188 69ca8d6d-28ef-0310-b511-8ec308f3f277
* findInitPid() has been implemented and it seems to work.beppu1999-12-091-1/+2
| | | | | | | reboot has been changed to take advantage of findInitPid(); git-svn-id: svn://busybox.net/trunk/busybox@184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed up copyright notices and suchandersen1999-10-201-0/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@49 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff...andersen1999-10-121-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@19 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial revisionandersen1999-10-051-0/+12
git-svn-id: svn://busybox.net/trunk/busybox@5 69ca8d6d-28ef-0310-b511-8ec308f3f277