From GhostBSD Wiki
Revision as of 11:44, 22 March 2020 by Slughorn (Talk | contribs) (Scripts)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Welcome to Icon Disti GhostBSD.png Local/etc/rc.d.
rc - shell
The generic hook into OpenRC.
Ordering rc-scripts
Scripts to run OpenRC
Scripts to run OpenRC
Scripts automatically executed at boot and shutdown
Special scripts
Configuration file for devd(8)
Initscript Configuration Files
Smaller configuration files
Specifies the default settings for all the available options.
The global OpenRC configuration file
GhostBSD specific configurations
Safely edit system rc files
Shows which services are running
Add or delete services
Locate and run an OpenRC service
Back to the Icon Disti GhostBSD.pngSystem


The /usr/local/etc/rc.d/ mechanism is used instead of rc.local these days. It contains commands which are pertinent only to a specific site.


Files Description
/usr/local/etc/rc.d/avahi-daemon The Avahi mDNS/DNS-SD daemon implements Apple's Zeroconf architecture (also known as "Rendezvous" or "Bonjour"). The daemon registers local IP addresses and static services using mDNS/DNS-SD and provides two IPC APIs for local programs to make use of the mDNS record cache the avahidaemon maintains. First there is the so called "simple protocol" which is used exclusively by avahi-dnsconfd (a daemon which configures unicast DNS servers using server info published via mDNS) and nssmdns (a libc NSS plugin, providing name resolution via mDNS). Finally there is the D-Bus interface which provides a rich object oriented interface to D-Bus enabled applications.
/usr/local/etc/rc.d/avahi-dnsconfd avahi-dnsconfd connects to a running avahi-daemon and runs the script /home/lennart/tmp/avahi/usr/local/etc/avahi/dnsconfd.action for each unicast DNS server that is announced on the local LAN. This is useful for configuring unicast DNS servers in a DHCP-like fashion with mDNS.
/usr/local/etc/rc.d/cupsd cupsd is the scheduler for CUPS. It implements a printing system based

upon the Internet Printing Protocol, version 2.1, and supports most of the requirements for IPP Everywhere. If no options are specified on the command-line then the default configuration file /usr/lo cal/etc/cups/cupsd.conf will be used.

/usr/local/etc/rc.d/dbus The dbus package provides commands to interact with DBus message busses. There are three well-known bus names: session, system, and starter. The starter bus only applies when the application has been started as a result of a method call from another application. A connection to the starter bus will effectively be an alternative connection to either the session or the system bus.
/usr/local/etc/rc.d/hald hald is a daemon that maintains a database of the devices connected to

the system system in real-time. The daemon connects to the D-Bus system message bus to provide an API that applications can use to discover, monitor and invoke operations on devices. For more information about both the big picture and specific API details, refer to the HAL spec which can be found in /usr/local/share/doc/hal/spec/hal-spec.html depending on the distribution.

/usr/local/etc/rc.d/lightdm lightdm - a display manager
/usr/local/etc/rc.d/[miniupnpc The miniupnpc library implement the UPnP protocol defined to dialog with Internet Gateway Devices. It also has the ability to use data gathered by minissdpd(1) about UPnP devices up on the network in order to skip the long UPnP device discovery process.
/usr/local/etc/rc.d/mysql-server mysql is a simple SQL shell with input line editing capabilities. It supports interactive and noninteractive use. When used interactively, query results are presented in an ASCII-table format. When used noninteractively (for example, as a filter), the result is presented in tab-separated format. The output format can be changed using command options.
/usr/local/etc/rc.d/samba_server samba is the server daemon that provides Active Directory, filesharing and printing services to clients. The server provides filespace and directory services to clients using the SMB (or CIFS) protocol and other related protocols such as DCE/RPC, LDAP and Kerberos.
/usr/local/etc/rc.d/saned saned is the SANE (Scanner Access Now Easy) daemon that allows remote

clients to access image acquisition devices available on the local host.

/usr/local/etc/rc.d/sndiod The sndiod daemon is an intermediate layer between audio or MIDI programs and the hardware. It performs the necessary audio processing to allow any program to work on any supported hardware. By default, sndiod accepts connections from programs running on the same system only; it initializes only when programs are using its services, allowing sndiod to consume a negligible amount of system resources the rest of the time.
/usr/local/etc/rc.d/snmpd snmpd is an SNMP agent which binds to a port and awaits requests from

SNMP management software. Upon receiving a request, it processes the request(s), collects the requested information and/or performs the requested operation(s) and returns the information to the sender.

/usr/local/etc/rc.d/snmptrapd snmptrapd is an SNMP application that receives and logs SNMP TRAP and INFORM messages.

Note: the default is to listen on UDP port 162 on all IPv4 interfaces. Since 162 is a privileged port, snmptrapd must typically be run as root.

/usr/local/etc/rc.d/svnserve svnserve allows access to Subversion repositories using the svn network protocol. It can both run as a standalone server process, or it can run out of inetd. You must choose a mode of operation when you start svnserve.
/usr/local/etc/rc.d/tcsd tcsd - daemon that manages Trusted Computing resources
/usr/local/etc/rc.d/uuidd The uuidd daemon is used by the UUID library to generate universally unique identifiers (UUIDs), especially time-based UUID's in a secure and guaranteed-unique fashion, even in the face of large numbers of threads trying to grab UUID's running on different CPU's.
/usr/local/etc/rc.d/webcamd webcamd is a daemon that enables the use of hundreds of different USB webcam, USB DVB, USB radio, USB input, USB tablet and more devices under the FreeBSD operating system. The webcamd daemon is basically a port of Linux USB device drivers into userspace in FreeBSD.
/usr/local/etc/rc.d/xconfig command="/usr/local/bin/xconfig service"