Add devd and hooks

This commit is contained in:
Roy Marples 2007-11-23 12:12:38 +00:00
parent 81d508b0b5
commit bbd25ccc00
2 changed files with 9 additions and 1 deletions

7
README
View File

@ -12,17 +12,24 @@ LIB=lib64
DESTDIR=/tmp/openrc-image DESTDIR=/tmp/openrc-image
If any of the following files exist then we do not overwrite them If any of the following files exist then we do not overwrite them
/etc/devd.conf
/etc/rc /etc/rc
/etc/rc.shutdown /etc/rc.shutdown
/etc/conf.d/* /etc/conf.d/*
/etc/inittab /etc/inittab
rc and rc.shutdown are the hooks from the BSD init into OpenRC. rc and rc.shutdown are the hooks from the BSD init into OpenRC.
devd.conf is modified from FreeBSD to call /etc/rc.devd which is a generic
hook into OpenRC.
inittab is the same, but for SysVInit as used by most Linux distrubtions. inittab is the same, but for SysVInit as used by most Linux distrubtions.
Obviously, if you're installing this onto a system that does not use OpenRC Obviously, if you're installing this onto a system that does not use OpenRC
by default then you may wish to backup the above listed files, remove them by default then you may wish to backup the above listed files, remove them
and then install so that the OS hooks into OpenRC. and then install so that the OS hooks into OpenRC.
init.d.misc is not installed by default as the scripts will need
tweaking on a per distro basis. They are also non essential to the operation
of the system.
History - by Roy Marples History - by Roy Marples
------------------------ ------------------------

View File

@ -1,5 +1,6 @@
DIR = /etc DIR = /etc
CONF = rc rc.shutdown CONF = devd.conf rc rc.shutdown
BIN = rc.devd
TOPDIR = .. TOPDIR = ..
include $(TOPDIR)/default.mk include $(TOPDIR)/default.mk