summaryrefslogtreecommitdiff
path: root/init/poweroff.c
AgeCommit message (Collapse)Author
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-10Added poweroff (and adjusted init to use it). Inlined functionEric Andersen
calls to code only called once in tee. Made BB_KLOGD and option. -Erik