aboutsummaryrefslogtreecommitdiff
path: root/daemons/rc.sh
Commit message (Collapse)AuthorAgeFilesLines
* init: add a minimalist init programJustus Winter2014-11-211-3/+0
| | | | | | | | | | | | | | | | | | | | | | 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.
* Make boot script accept more fsck valuesSamuel Thibault2013-10-281-1/+1
| | | | * daemons/rc.sh: Accept fsck returning 5 and 9 too.
* Make boot script reboot when fsck told soSamuel Thibault2013-10-221-1/+6
| | | | * daemons/rc.sh: When fsck returned 2 or 3, reboot the system.
* 2001-06-08 Roland McGrath <roland@frob.com>Roland McGrath2001-06-081-0/+7
| | | | * rc.sh: Start /hurd/mach-defpager before swapon.
* 2001-06-07 Roland McGrath <roland@frob.com>Roland McGrath2001-06-081-1/+1
| | | | * rc.sh: Include $? value in message about unexpected fsck exit.
* 1999-07-01 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-011-4/+7
| | | | | | | | * rc.sh: Specify bash instead of sh. (remove_translators): Don't descend into "." or "..". Alter calling convention slightly and require the `nullglob' option to be set. Change caller to suit. From Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
* 1999-06-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-221-1/+25
| | | | * rc.sh: Clean /tmp using special hackery to nuke translators.
* 1999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-301-3/+0
| | | | * rc.sh: Don't create /var/run/uptime. It's no longer used.
* 1999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-3/+5
| | | | * rc.sh: Do `swapon -a' first thing.
* Startup up sendmail if possible.Miles Bader1996-10-101-3/+8
|
* *** empty log message ***Thomas Bushnell1996-08-131-1/+1
|
* Create /var/run/uptime *after* clearing /var/run. Always createMichael I. Bushnell1996-07-151-2/+6
| | | | /var/run/mtab to keep e2fsck happy.
* Get rid of hostname setting from /etc/hostname.Miles Bader1996-07-151-3/+0
|
* Only clean /tmp and /var/run if they are respectively directories.Michael I. Bushnell1996-07-121-2/+6
|
* Touch /var/run/uptime file.Miles Bader1996-07-031-1/+1
|
* Use --writable flag to fsck too.Miles Bader1996-06-251-1/+1
|
* Use real fsck instead of kluge.Miles Bader1996-06-251-9/+2
|
* Print date before running fsck. Comment out pty permission check.Michael I. Bushnell1996-06-191-3/+4
|
* Understand special more status codes for signals from fsck.Miles Bader1996-06-191-20/+17
| | | | | Fix some messages. Factor out date.
* Comment out motd update.Michael I. Bushnell1996-06-171-5/+6
|
* Clean /var/run and make utmp.Michael I. Bushnell1996-06-171-4/+2
|
* update /etc/motd.Michael I. Bushnell1996-06-171-2/+2
|
* *** empty log message ***Michael I. Bushnell1996-06-171-1/+9
|
* autoboot: Make root readonly before fscking it.Michael I. Bushnell1996-06-171-0/+1
|
* fixup.Michael I. Bushnell1996-06-171-8/+7
|
* Initial revisionMichael I. Bushnell1996-06-171-0/+77