Difference between revisions of "Rc.devd"
From GhostBSD Wiki
(Created page with "{{welcome}} {{Navbar OpenRC}} ==Introduction== Category:Sysutils") |
(→Introduction) |
||
Line 4: | Line 4: | ||
==Introduction== | ==Introduction== | ||
+ | * Rc.devd is an shell script and its function is the generic hook into OpenRC. | ||
+ | ==Tasks== | ||
− | + | * It informs RC that we are in the background and hot-plugged. | |
+ | * If there are additional arguments coming from '''devd''', they will be captured. | ||
+ | * getmedia | ||
+ | * Try and create an init script for network interfaces, set the variable: base="network.lo0" | ||
+ | * Runs the directory '''/etc/init.d*** | ||
+ | * Run the directory '''/usr/local/etc/init.d''' | ||
Revision as of 03:53, 18 March 2020
Welcome to Rc.devd. |
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 System |
Introduction
- Rc.devd is an shell script and its function is the generic hook into OpenRC.
Tasks
- It informs RC that we are in the background and hot-plugged.
- If there are additional arguments coming from devd, they will be captured.
- getmedia
- Try and create an init script for network interfaces, set the variable: base="network.lo0"
- Runs the directory /etc/init.d***
- Run the directory /usr/local/etc/init.d