summaryrefslogtreecommitdiff
path: root/daemons/runsystem.sh
AgeCommit message (Collapse)Author
2014-11-21init: add a minimalist init programJustus Winter
This patch adds a minimalist init program. It is somewhat lacking in features, but is able to bring up a Hurd system with the runsystem and rc scripts. In fact, it roughly does what the former /hurd/init did, modulo all the very early bootstrapping stuff and the startup protocol. It is started when all the essential servers are up and running, so it can make use of most of the POSIX goodies, making its implementation much simpler. * Makefile (prog-subdirs): Add init. * daemons/runsystem.sh: Generalize runsystem so that it can start any init as specified on the kernel command line. By default, it starts /hurd/init. * daemons/runsystem.hurd: This is a verbatim copy of runsystem.sh. It is started by /hurd/init. * daemons/rc.sh: Do not start /hurd/mach-defpager as it is already started in runsystem.sh. * daemons/Makefile (SRCS): Add runsystem.hurd. * init/Makefile: New file. * init/init.c: Likewise.
2013-09-19daemons: make sure / is writable before setting up pflocalJustus Winter
runsystem.sh checks whether /servers/socket/1 exists and creates it using settrans -c if it does not. But at this point in the boot the root filesystem is normally not writable. This patch fixes this. * daemons/runsystem.sh: Make sure / is writable before attempting to set up pflocal.
2012-09-23Automatically setup local sockets if not already done so.Samuel Thibault
Needed early for shell pipelines. * daemons/runsystem.sh: See whether pflocal is setup already, and do so if not (install case)
2011-06-21Set default umask to 022Samuel Thibault
* daemons/runsystem.sh: Call umask 022.
2001-12-202001-12-20 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* runsystem.sh: For now, this requires bash.
2001-08-202001-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* runsystem.sh: Don't check for MULTIBOOT_CMDLINE environment variable. Instead, expect it as normal arguments from init.
1999-06-181999-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* runsystem.sh: New file. * Makefile (targets, special-targets): Add runsystem. (runsystem): New target.