aboutsummaryrefslogtreecommitdiff
path: root/init/reboot.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.Rob Landley2006-01-301-28/+0
|
* The whole "init is sometimes pid 3" thing is silly. Init is pid 1, anythingRob Landley2006-01-221-30/+2
| | | | | | else is a kernel bug. Both 2.4 and 2.6 should get this right now. This should fix the bug IraquiGeek is seeing (although killall still needs to be fixed.)
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* As vodz noticed, I screwed up rebootEric Andersen2003-07-221-2/+2
|
* Support reboot, halt, and poweroff independent of busybox init.Eric Andersen2003-07-221-33/+6
| | | | | Simplify and fixup some logic. -Erik
* Remove remaining libc5 support codeEric Andersen2003-07-221-10/+3
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Apply last_patch93 from vodz:Eric 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
* Major coreutils update.Manuel Novoa III2003-03-191-2/+2
|
* include "busybox" after the libc includes tofix compile errorsGlenn L McGrath2002-12-071-1/+3
|
* Patch from David McCullough <davidm@snapgear.com>Eric Andersen2002-09-171-5/+72
|
* Update some missing copyright noticesEric Andersen2002-04-131-1/+1
|
* If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen2001-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
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-1/+1
| | | | -Erik
* Fix a nasty bug with variable name shadowingEric Andersen2001-10-181-1/+1
|
* Look for either "init" or "linuxrc" processesEric Andersen2001-10-031-2/+5
|
* Be extra extra careful about what we dereference.Eric Andersen2001-07-051-1/+4
|
* A patch from Matt Kraai that adds a new 'shutdown' action to busybox init. NowEric Andersen2001-04-031-2/+2
| | | | | you can specify an arbitrary behavior for 'ctrlaltdel' without that behavior needing to be a reboot.
* 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!
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Centralize handling of --help.Matt Kraai2000-07-191-3/+0
|
* Add usage messages for applets without them.Matt Kraai2000-07-191-0/+3
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-2/+2
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Patch to make killall actually kill all PIDs with the specified name,Erik Andersen2000-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
* Fix bugs related to finding PIDs.Erik Andersen2000-03-071-0/+4
| | | | -Erik
* Wrote killall.Erik Andersen2000-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
* A few updates (including the cp fix the Craig has been looking for)Erik Andersen2000-03-041-0/+8
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-4/+4
| | | | -Erik
* Added poweroff (and adjusted init to use it). Inlined functionEric Andersen1999-12-101-1/+1
| | | | | calls to code only called once in tee. Made BB_KLOGD and option. -Erik
* Adjustments for Johns init stuff,Eric Andersen1999-12-091-2/+2
| | | | -Erik
* findInitPid() has been implemented and it seems to work.John Beppu1999-12-091-1/+2
| | | | reboot has been changed to take advantage of findInitPid();
* Fixed up copyright notices and suchEric Andersen1999-10-201-0/+22
|
* More stuff...Eric Andersen1999-10-121-6/+2
|
* Initial revision0_29alpha2Eric Andersen1999-10-051-0/+12