From 7e9c559c75901f391b4151ed6cabba74e60f80af Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 18 Sep 2013 15:29:36 +0200 Subject: init: add a minimalist init program 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. --- daemons/rc.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'daemons/rc.sh') diff --git a/daemons/rc.sh b/daemons/rc.sh index 5cf44fa6..12408830 100644 --- a/daemons/rc.sh +++ b/daemons/rc.sh @@ -2,9 +2,6 @@ PATH=/bin:/sbin -# Start the default pager. It will bail if there is already one running. -/hurd/mach-defpager - # Set up swap space. This will complain if no default pager is functioning. swapon -a -- cgit v1.2.3