]> Zhao Yanbai Git Server - minix.git/commit
Initial import of NetBSD rc system 07/3407/1
authorDavid van Moolenbroek <david@minix3.org>
Mon, 13 Feb 2017 13:35:23 +0000 (13:35 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 23 Feb 2017 14:08:39 +0000 (14:08 +0000)
commit325ce30bccba250bdfe2f52d4d341654683ad16f
treea735237087989feb3d5c98d589f7f8cb174ee602
parent2109df2759373685713da83de61b10bf2f05055e
Initial import of NetBSD rc system

IMPORTANT: this change has a docs/UPDATING entry!

This patch performs an initial import of the infrastructure and a
subset of the NetBSD set of rc startup and shutdown scripts.  The
"initial" refers to the fact that this is not yet a full switch to the
NetBSD rc system: the MINIX ramdisk rc script, which (typically) runs
as the first thing, is kept as is.  After mounting the root file
system, the ramdisk rc script will start the NetBSD rc infrastructure
by invoking /etc/rc, however.  The regular MINIX startup-and-shutdown
script has been moved from /etc/rc to /etc/rc.minix, and is now
invoked as part of the NetBSD rc infrastructure through a bridge rc
script /etc/rc.d/minixrc.  /etc/rc.minix invokes /usr/etc/rc as before.

Switching over the ramdisk to the NetBSD system and decomposing the
MINIX rc.minix script into smaller components are left to future work.
Also, the current pkgsrc etc/rc.d auto-start functionality is left as
is, even though it should be removed (see the etc/usr/rc comment).

Change-Id: Ia96cae7c426e94b85c67978dc1307dacc4b09fc5
45 files changed:
.gitignore
distrib/sets/lists/minix-base/mi
distrib/sets/lists/minix-man/mi
docs/UPDATING
etc/Makefile
etc/defaults/minix.rc.conf
etc/defaults/rc.conf
etc/rc [changed mode: 0755->0644]
etc/rc.cd
etc/rc.conf
etc/rc.d/DAEMON [new file with mode: 0755]
etc/rc.d/DISKS [new file with mode: 0644]
etc/rc.d/LOGIN [new file with mode: 0755]
etc/rc.d/Makefile [new file with mode: 0755]
etc/rc.d/NETWORKING [new file with mode: 0755]
etc/rc.d/SERVERS [new file with mode: 0755]
etc/rc.d/bootconf.sh [new file with mode: 0755]
etc/rc.d/fsck [new file with mode: 0755]
etc/rc.d/ftpd [new file with mode: 0755]
etc/rc.d/ipfilter [new file with mode: 0755]
etc/rc.d/ipsec [new file with mode: 0755]
etc/rc.d/local [new file with mode: 0755]
etc/rc.d/minixrc [new file with mode: 0755]
etc/rc.d/mountcritlocal [new file with mode: 0755]
etc/rc.d/mountcritremote [new file with mode: 0755]
etc/rc.d/network [new file with mode: 0755]
etc/rc.d/npf [new file with mode: 0644]
etc/rc.d/pwcheck [new file with mode: 0755]
etc/rc.d/root [new file with mode: 0755]
etc/rc.d/sysctl [new file with mode: 0755]
etc/rc.d/sysdb [new file with mode: 0755]
etc/rc.d/syslogd [new file with mode: 0755]
etc/rc.d/ttys [new file with mode: 0755]
etc/rc.d/wscons [new file with mode: 0755]
etc/rc.minix [new file with mode: 0755]
etc/rc.shutdown
etc/usr/rc
minix/drivers/storage/ramdisk/rc
share/Makefile
share/man/Makefile [new file with mode: 0644]
share/man/man5/Makefile [new file with mode: 0644]
share/man/man5/rc.conf.5 [new file with mode: 0644]
share/man/man8/Makefile [new file with mode: 0644]
share/man/man8/rc.8 [new file with mode: 0644]
share/man/man8/rc.subr.8 [new file with mode: 0644]