summaryrefslogtreecommitdiffhomepage
path: root/init/halt.c
AgeCommit message (Collapse)Author
2006-02-22Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley
2006-01-30Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.Rob Landley
2006-01-22The whole "init is sometimes pid 3" thing is silly. Init is pid 1, anythingRob Landley
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.)
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-07-22Support reboot, halt, and poweroff independent of busybox init.Eric Andersen
Simplify and fixup some logic. -Erik
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-06-27Apply last_patch93 from vodz:Eric Andersen
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
2003-03-19Major coreutils update.Manuel Novoa III
2002-04-13Update some missing copyright noticesEric Andersen
2001-12-06If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen
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
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-18Fix a nasty bug with variable name shadowingEric Andersen
2001-10-03Look for either "init" or "linuxrc" processesEric Andersen
2001-07-05Be extra extra careful about what we dereference.Eric Andersen
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-07-19Centralize handling of --help.Matt Kraai
2000-07-19Add usage messages for applets without them.Matt Kraai
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-04-07Patch to make killall actually kill all PIDs with the specified name,Erik Andersen
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
2000-03-07Fix bugs related to finding PIDs.Erik Andersen
-Erik
2000-03-07Wrote killall.Erik Andersen
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
1999-12-09Adjustments for Johns init stuff,Eric Andersen
-Erik
1999-10-20Fixed up copyright notices and suchEric Andersen
1999-10-18More stuffEric Andersen
1999-10-05Initial revisionEric Andersen