summaryrefslogtreecommitdiff
path: root/daemons/rc.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-10-28Make boot script accept more fsck valuesSamuel Thibault
* daemons/rc.sh: Accept fsck returning 5 and 9 too.
2013-10-22Make boot script reboot when fsck told soSamuel Thibault
* daemons/rc.sh: When fsck returned 2 or 3, reboot the system.
2001-06-082001-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* rc.sh: Start /hurd/mach-defpager before swapon.
2001-06-082001-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* rc.sh: Include $? value in message about unexpected fsck exit.
1999-07-011999-07-01 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-221999-06-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rc.sh: Clean /tmp using special hackery to nuke translators.
1999-05-301999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rc.sh: Don't create /var/run/uptime. It's no longer used.
1999-05-151999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rc.sh: Do `swapon -a' first thing.
1996-10-10Startup up sendmail if possible.Miles Bader
1996-08-13*** empty log message ***Thomas Bushnell
1996-07-15Create /var/run/uptime *after* clearing /var/run. Always createMichael I. Bushnell
/var/run/mtab to keep e2fsck happy.
1996-07-15Get rid of hostname setting from /etc/hostname.Miles Bader
1996-07-12Only clean /tmp and /var/run if they are respectively directories.Michael I. Bushnell
1996-07-03Touch /var/run/uptime file.Miles Bader
1996-06-25Use --writable flag to fsck too.Miles Bader
1996-06-25Use real fsck instead of kluge.Miles Bader
1996-06-19Print date before running fsck. Comment out pty permission check.Michael I. Bushnell
1996-06-19Understand special more status codes for signals from fsck.Miles Bader
Fix some messages. Factor out date.
1996-06-17Comment out motd update.Michael I. Bushnell
1996-06-17Clean /var/run and make utmp.Michael I. Bushnell
1996-06-17update /etc/motd.Michael I. Bushnell
1996-06-17*** empty log message ***Michael I. Bushnell
1996-06-17autoboot: Make root readonly before fscking it.Michael I. Bushnell
1996-06-17fixup.Michael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell