Init scripts for sysvinit on Zeppe-Lin.
This distribution is a fork of CRUX init scripts (version 2.31,
extracted from the rc port), with the following differences:
- Rewritten in POSIX
sh(1p)instead ofbash(1) - Added manual pages:
rc(8),rc.conf(5), andrc.d(7) - Optional
seedrng(8)support to seed the kernel RNG from seed files - Optional
mdadm(1)support to assemble RAID volumes - Optional
cryptmount(8)support to parsecrypttab(5)viacryptsetup(8) - Kernel ring buffer is saved to
/var/log/dmesginstead of/var/log/boot - Configurable boot logging daemon (e.g.,
bootlogd(8)) - Configurable device manager instead of default
udevd(8) - Configurable screen blanking timeout
- Removed
rc.fixfile - Mount
/dev/ptsand/dev/shmafter/dev - Mount all virtual filesystems without writing to
/etc/mtab(supports read-only/etc) - Optional delegation of module list handling to the standalone
modules-load(8)utility
See the git log for full history.
Original sources:
- POSIX
sh(1p),make(1p)and "mandatory utilities" scdoc(1)to generate manual pages
- POSIX
sh(1p)and "mandatory utilities" sysvinitto run initscripts and manage runlevelsutil-linuxandcoreutilsudevd(8)fromeudev/udev/systemd-udevdfor device management, or a custom manager specified viaDEVMGRsysctl(8)fromprocps/procps-ngto set kernel variablesldconfig(8)fromglibcto update shared library linkshostname(1)frominetutilsto set the hostnamedepmod(8)fromkmodto generatemodules.depand map files
Optional dependencies:
bootlogd(8)fromsysvinitfor boot loggingsetfont(8)andloadkeys(1)fromkbdfor console font and keyboard layoutseedrng(8)fromseedrngto seed the kernel RNGvgscan(8),vgchange(8), andlvm(8)fromlvmfor device-mapper nodes and LVM volume groupsmdadm(8)frommdadmto detect and assemble RAID devicescryptmount(8)fromcryptmountto manage encrypted volumes (requirescryptsetup(8),blkid(8), andmkswap(8))modules-load(8)from modules-load to load modules from configuration directories
To install:
# as root
make installConfiguration parameters are defined in config.mk.
Customize the following files:
/etc/rc.conf: System-wide settings andSERVICESlist (seerc.conf(5))./etc/inittab: Manages the boot process and runlevels (seeinittab(5)).
Examples are provided in extra/rc.conf.sample,
extra/inittab.sample, and in the Zeppe-Lin
rc package.
Note on POSIX Environments:
Some versions of mount(1) may not support non-numeric group names.
If mounting /dev/pts fails, replace git=tty with the numeric group
ID (e.g., gid=5) in the main rc script.
Manual pages are provided in /man and installed under the system
manual hierarchy.
rc is licensed under the
GNU General Public License v3 or later.
See COPYING for license terms and COPYRIGHT for notices.