aboutsummaryrefslogtreecommitdiff
path: root/init
AgeCommit message (Collapse)Author
2002-08-22Run through indent, fix commentsGlenn L McGrath
2002-07-29Kill a silly warningEric Andersen
2002-07-29Patch from Tim Riker to allow tty* in inittab if the ttyEric Andersen
actually exists -- serial console is not the issue...
2002-07-03This is last_patch48 from vodz. More cleanups, kills a bitEric Andersen
of dead code, fixes one blatent bug.
2002-07-03Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen
silly games. -Erik
2002-07-03Apply last_patch47 from vodz to fix several problems, such as the ash "jobEric Andersen
control turned off" bug, console_setup() was called with a closed file descriptor, setsid() inconsistancy, and silly string handling bugs. I have modified his patch to allow the askfirst init actions to have a controlling terminal.
2002-07-03Fix from vodz so that complex init commands actually workEric Andersen
2002-07-03Patch from till busch <buti@gmx.at> -- unblock all signalsEric Andersen
in exec_signal() before calling exec()
2002-06-05plug fd leak noticed by Russ DillEric Andersen
-Erik
2002-06-04Fix for broken handling off BusyBox's own pwd/grp implementationsRobert Griebl
[Parts of this patch may overlap with my other two patches]
2002-05-15Doh! Remember to close /etc/inittabEric Andersen
2002-04-13Update some missing copyright noticesEric Andersen
2002-04-12Completely rework the config system so that it no longer annoys me to work onEric Andersen
the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik
2002-03-29Provide a controlling tty to askfirst processes as wellEric Andersen
-Erik
2002-03-20Rewind messages to avoid weird formatting, and fix a bug withEric Andersen
CONFIG_FEATURE_EXTRA_QUIET, which was broken
2002-03-05Update init.c per my changes in the stable branchEric Andersen
-Erik
2002-01-26Patch from Russ Dill <Russ.Dill@asu.edu>. From theEric Andersen
start-stop-daemon man page: -b|--background Typically used with programs that don't detach on their own. This option will force start-stop-daemon to fork before starting the process, and force it into the background. WARNING: start-stop-daemon cannot check the exit status if the process fails to execute for any reason. This is a last resort, and is only meant for programs that either make no sense forking on their own, or where it's not feasible to add the code for it to do this itself. This is usefull for applets like watchdog
2002-01-25Teach 'init -q' that init's pid may not equal 1Eric Andersen
2002-01-06Oops.Eric Andersen
2002-01-06Do not depend on PATH or getopt arg reorderingEric Andersen
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-18Vodz' last_patch31Eric Andersen
Very minimal last corrections: 1) busybox.c: fix warining 2) docs/: add applets for list from pwd_grp 3) usage.h: add -n option for route 4) run_parts.c: many todo fix for busybox style 5) addgroup.c: add #ifdef CONFIG_FEATURE_SHADOWPASSWDS, reduce one perror_msg 6) adduser.c: fix bug "variable i not initialize" and add #ifdef CONFIG_FEATURE_SHADOWPASSWDS
2001-12-17Add in a new restart init target, triggered by SIGHUP. Patch fromEric Andersen
Russ Dill, with adjustments by me. -Erik
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-11-30Patch from Dan Langlois <dan@somanetworks.com> Support SIGSTOP/SIGCONTEric Andersen
for wierd situations when people want init to actualy stop doing anything for a while...
2001-11-21Fix dangling commaEric Andersen
2001-11-20S390 wierdnessEric Andersen
2001-11-17Hide some ifdefs to make it more readibleEric Andersen
2001-11-10Cleanup some config problems. Add a sane default config that basicallyEric Andersen
matches the default old Config.h
2001-10-31Add the run-parts applet submitted by Emanuele AinaEric Andersen
<emanuele.aina@tiscali.it>
2001-10-31Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>Eric Andersen
2001-10-31patch from vodz:Eric Andersen
I reduce 148 bytes from start_stop_daemon.c code. Also reduced memory allocated.
2001-10-28As Aaron Lehmann just pointed out, I forgot a line...Eric Andersen
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen
2001-10-24Fixup the location of pwd.h and grp.hEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-18Commit the start-stop-daemon applet. This was contributed by DavidEric Andersen
Kimdon <dwhedon@gordian.com> on october 7th -- the day I was fired from Lineo. So it seems I totally forgot about this patch until now. Sorry about that David!
2001-10-18Scrub up some function prototypes.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-09-05Two patches from Magick <magick@linux-fan.com>:Eric Andersen
1st makes init smaller, and fixes a bug with AskFirst. Reading from /dev/null gives EOF. 2nd makes init run the command's in the order of inittab, as in FIFO instead of LIFO.
2001-07-23Add support for devfs device names.Matt Kraai
2001-07-22Some patches to make dietlibc work...Eric Andersen
2001-07-05Be extra extra careful about what we dereference.Eric Andersen
2001-06-12Only use a login shell when it will run on a console.Matt Kraai
2001-06-03Loop forever instead of exiting.Matt Kraai
2001-05-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-18Changed snprintf copies to use strncpy at the suggestion of Aaron Lehmann.Matt Kraai
2001-04-25Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen
This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
2001-04-23A patch from Marc Karasek and Kanoj (kernel serial.c maintainer)Eric Andersen
so init will work on serial consoles with 2.4.3+ kernels, thanks to Fabrice Gautier <gautier@email.enst.fr> for finding this one. -Erik