Conf.d
From GhostBSD Wiki
Welcome to ![]() |
OpenRC | ||
---|---|---|
Scripts | ||
/etc/rc rc - shell |
/etc/rc.devd The generic hook into OpenRC. |
/sbin/rcorder Ordering rc-scripts |
/etc/init.d Scripts to run OpenRC |
/usr/local/etc/init.d Scripts to run OpenRC |
|
/etc/rc.d Scripts automatically executed at boot and shutdown |
/usr/local/etc/rc.d Special scripts |
|
Configuration | ||
/etc/devd.conf Configuration file for devd(8) |
/etc/conf.d Initscript Configuration Files |
/etc/rc.conf.d Smaller configuration files |
/etc/defaults/rc.conf Specifies the default settings for all the available options. |
/etc/rc.conf The global OpenRC configuration file |
/etc/rc.conf.ghostbsd GhostBSD specific configurations |
Tools/Helper | ||
/usr/sbin/sysrc Safely edit system rc files |
/bin/rc-status Shows which services are running |
/sbin/rc-update Add or delete services |
/sbin/rc-service Locate and run an OpenRC service |
||
Back to the ![]() |
Introduction
This /etc/conf.d directory generally contains configuration files for the initscripts. This directory becomes important when using OpenRC init system (which is enabled by default).
Content
Name | Description |
---|---|
/etc/conf.d/bootmisc | Wipe the tmp paths completely or just selectively remove known; Write the initial dmesg log into /var/log/dmesg after boot; Save the previous dmesg log to dmesg.old |
/etc/conf.d/fsck | file system consistency check and interactive repair |
/etc/conf.d/ipfw | User interface for firewall, traffic shaper, packet scheduler,
in-kernel NAT. |
/etc/conf.d/ldconfig | configure the shared library cache |
/etc/conf.d/localmount | Stop the unmounting of certain points. This could be useful for some NFS related work. Mark certain mount points as critical. |
/etc/conf.d/moused | pass mouse data to the console driver |
/etc/conf.d/netmount | You will need to set the dependencies in the netmount script to match the network configuration tools you are using. This should be done in this file by following the examples below, and not by changing the service script itself. |
/etc/conf.d/powerd | system power control utility |
/etc/conf.d/rarpd | reverse ARP daemon |
/etc/conf.d/savecore | save a core dump of the operating system |
/etc/conf.d/staticroute | Static routes are defined differently depending on your operating system, so please be sure to use the correct syntax. Do not use this file to define the default route. In all settings, multiple routes should be separated using ; or new lines. |
/etc/conf.d/swap | If you are only using local swap partitions, you should not change this file. Otherwise, you need to uncomment the below rc_before line followed by the appropriate rc_need line. |
/etc/conf.d/syscons | the console driver |
/etc/conf.d/tmpfiles | Extra options for tmpfiles.sh |
/etc/conf.d/urandom | Sometimes you want to have urandom start before "localmount" (say for crypt swap), so you will need to customize this behavior. If you have /var on a separate partition, then make sure this path lives on your root device somewhere. |
Back to ![]() |