summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2016-04-23 16:10:54 +0000
committerlme <lme@FreeBSD.org>2016-04-23 16:10:54 +0000
commit965a2e6f88f38fed96ad8e3cdfa7edb2a56e1db3 (patch)
treed032256fcb2866de2887b017f399c734c1439413
parent50e552f99c2b03c9bf73dcc410ce3325af222ace (diff)
downloadFreeBSD-src-965a2e6f88f38fed96ad8e3cdfa7edb2a56e1db3.zip
FreeBSD-src-965a2e6f88f38fed96ad8e3cdfa7edb2a56e1db3.tar.gz
- Add descriptions to most of the rc scripts. Those are mostly taken from their
daemon's manpage and probably improved. - Consistently use "filesystem" not "file system". Approved by: bapt, brueffer Differential Revision: D452
-rwxr-xr-xetc/rc.d/FILESYSTEMS4
-rwxr-xr-xetc/rc.d/abi1
-rwxr-xr-xetc/rc.d/amd1
-rwxr-xr-xetc/rc.d/apm1
-rwxr-xr-xetc/rc.d/apmd1
-rwxr-xr-xetc/rc.d/auditd1
-rw-r--r--etc/rc.d/auditdistd1
-rw-r--r--etc/rc.d/automountd1
-rw-r--r--etc/rc.d/autounmountd1
-rwxr-xr-xetc/rc.d/bgfsck1
-rwxr-xr-xetc/rc.d/bluetooth1
-rwxr-xr-xetc/rc.d/bootparams1
-rwxr-xr-xetc/rc.d/bridge1
-rwxr-xr-xetc/rc.d/bsnmpd1
-rwxr-xr-xetc/rc.d/bthidd1
-rwxr-xr-xetc/rc.d/ccd1
-rwxr-xr-xetc/rc.d/cleanvar1
-rwxr-xr-xetc/rc.d/cleartmp1
-rwxr-xr-xetc/rc.d/cron1
-rwxr-xr-xetc/rc.d/ctld1
-rwxr-xr-xetc/rc.d/ddb1
-rwxr-xr-xetc/rc.d/defaultroute1
-rwxr-xr-xetc/rc.d/devd1
-rwxr-xr-xetc/rc.d/devfs1
-rwxr-xr-xetc/rc.d/dhclient1
-rwxr-xr-xetc/rc.d/dmesg1
-rwxr-xr-xetc/rc.d/dumpon1
-rwxr-xr-xetc/rc.d/fsck1
-rwxr-xr-xetc/rc.d/ftp-proxy1
-rwxr-xr-xetc/rc.d/ftpd1
-rwxr-xr-xetc/rc.d/gbde1
-rwxr-xr-xetc/rc.d/geli1
-rwxr-xr-xetc/rc.d/geli21
-rwxr-xr-xetc/rc.d/growfs1
-rwxr-xr-xetc/rc.d/gssd1
-rwxr-xr-xetc/rc.d/hastd1
-rwxr-xr-xetc/rc.d/hcsecd1
-rwxr-xr-xetc/rc.d/hostapd1
-rwxr-xr-xetc/rc.d/hostid1
-rwxr-xr-xetc/rc.d/hostid_save1
-rwxr-xr-xetc/rc.d/hostname1
-rwxr-xr-xetc/rc.d/inetd1
-rwxr-xr-xetc/rc.d/ip6addrctl1
-rwxr-xr-xetc/rc.d/ipfilter1
-rwxr-xr-xetc/rc.d/ipfs1
-rwxr-xr-xetc/rc.d/ipfw1
-rwxr-xr-xetc/rc.d/ipmon1
-rwxr-xr-xetc/rc.d/ipnat1
-rwxr-xr-xetc/rc.d/ipsec1
-rwxr-xr-xetc/rc.d/iscsictl1
-rwxr-xr-xetc/rc.d/iscsid1
-rwxr-xr-xetc/rc.d/jail1
-rwxr-xr-xetc/rc.d/kadmind1
-rwxr-xr-xetc/rc.d/kdc1
-rwxr-xr-xetc/rc.d/keyserv1
-rwxr-xr-xetc/rc.d/kfd1
-rwxr-xr-xetc/rc.d/kld1
-rwxr-xr-xetc/rc.d/kldxref1
-rwxr-xr-xetc/rc.d/kpasswdd1
-rwxr-xr-xetc/rc.d/ldconfig1
-rwxr-xr-xetc/rc.d/local1
-rwxr-xr-xetc/rc.d/local_unbound2
-rwxr-xr-xetc/rc.d/localpkg1
-rwxr-xr-xetc/rc.d/lockd1
-rwxr-xr-xetc/rc.d/lpd1
-rwxr-xr-xetc/rc.d/mdconfig1
-rwxr-xr-xetc/rc.d/mdconfig21
-rwxr-xr-xetc/rc.d/mixer1
-rwxr-xr-xetc/rc.d/motd1
-rwxr-xr-xetc/rc.d/mountcritlocal3
-rwxr-xr-xetc/rc.d/mountcritremote5
-rwxr-xr-xetc/rc.d/mountd1
-rwxr-xr-xetc/rc.d/mountlate3
-rwxr-xr-xetc/rc.d/moused1
-rwxr-xr-xetc/rc.d/msgs1
-rwxr-xr-xetc/rc.d/natd1
-rwxr-xr-xetc/rc.d/netif1
-rwxr-xr-xetc/rc.d/netoptions1
-rwxr-xr-xetc/rc.d/netwait1
-rwxr-xr-xetc/rc.d/newsyslog1
-rwxr-xr-xetc/rc.d/nfscbd1
-rwxr-xr-xetc/rc.d/nfsclient1
-rwxr-xr-xetc/rc.d/nfsd1
-rwxr-xr-xetc/rc.d/nfsuserd1
-rwxr-xr-xetc/rc.d/nisdomain1
-rwxr-xr-xetc/rc.d/nscd1
-rwxr-xr-xetc/rc.d/nsswitch1
-rwxr-xr-xetc/rc.d/ntpd1
-rwxr-xr-xetc/rc.d/ntpdate1
-rwxr-xr-xetc/rc.d/pf1
-rwxr-xr-xetc/rc.d/pflog1
-rwxr-xr-xetc/rc.d/pfsync1
-rwxr-xr-xetc/rc.d/power_profile1
-rwxr-xr-xetc/rc.d/powerd1
-rwxr-xr-xetc/rc.d/ppp1
-rwxr-xr-xetc/rc.d/pppoed1
-rwxr-xr-xetc/rc.d/pwcheck1
-rwxr-xr-xetc/rc.d/quota1
-rwxr-xr-xetc/rc.d/random1
-rwxr-xr-xetc/rc.d/rarpd1
-rwxr-xr-xetc/rc.d/rctl1
-rwxr-xr-xetc/rc.d/resolv1
-rwxr-xr-xetc/rc.d/rfcomm_pppd_server1
-rwxr-xr-xetc/rc.d/root1
-rwxr-xr-xetc/rc.d/route6d1
-rwxr-xr-xetc/rc.d/routed2
-rwxr-xr-xetc/rc.d/routing1
-rwxr-xr-xetc/rc.d/rpcbind1
-rwxr-xr-xetc/rc.d/rtadvd1
-rwxr-xr-xetc/rc.d/rtsold1
-rwxr-xr-xetc/rc.d/rwho1
-rwxr-xr-xetc/rc.d/savecore1
-rwxr-xr-xetc/rc.d/sdpd1
-rwxr-xr-xetc/rc.d/securelevel1
-rwxr-xr-xetc/rc.d/sendmail1
-rwxr-xr-xetc/rc.d/sppp1
-rwxr-xr-xetc/rc.d/sshd1
-rwxr-xr-xetc/rc.d/statd1
-rwxr-xr-xetc/rc.d/static_arp1
-rwxr-xr-xetc/rc.d/stf1
-rwxr-xr-xetc/rc.d/swap1
-rwxr-xr-xetc/rc.d/swaplate1
-rwxr-xr-xetc/rc.d/syscons1
-rwxr-xr-xetc/rc.d/sysctl1
-rwxr-xr-xetc/rc.d/syslogd1
-rwxr-xr-xetc/rc.d/timed1
-rwxr-xr-xetc/rc.d/tmp1
-rwxr-xr-xetc/rc.d/ugidfw1
-rwxr-xr-xetc/rc.d/utx1
-rwxr-xr-xetc/rc.d/var1
-rwxr-xr-xetc/rc.d/virecover1
-rwxr-xr-xetc/rc.d/watchdogd1
-rwxr-xr-xetc/rc.d/wpa_supplicant1
-rwxr-xr-xetc/rc.d/ypbind1
-rwxr-xr-xetc/rc.d/yppasswdd1
-rwxr-xr-xetc/rc.d/ypserv1
-rwxr-xr-xetc/rc.d/ypset1
-rwxr-xr-xetc/rc.d/ypxfrd1
-rwxr-xr-xetc/rc.d/zfs1
-rwxr-xr-xetc/rc.d/zvol1
140 files changed, 145 insertions, 8 deletions
diff --git a/etc/rc.d/FILESYSTEMS b/etc/rc.d/FILESYSTEMS
index 738c28f..140dffb 100755
--- a/etc/rc.d/FILESYSTEMS
+++ b/etc/rc.d/FILESYSTEMS
@@ -6,7 +6,7 @@
# PROVIDE: FILESYSTEMS
# REQUIRE: root mountcritlocal cleanvar zfs
-# This is a dummy dependency, for services which require file systems
+# This is a dummy dependency, for services which require filesystems
# to be mounted before starting. It also serves as the default early /
# late divider; after this point, rc.d directories are rescanned to
-# catch scripts from other file systems than /.
+# catch scripts from other filesystems than /.
diff --git a/etc/rc.d/abi b/etc/rc.d/abi
index 5021843..6dd5e7e 100755
--- a/etc/rc.d/abi
+++ b/etc/rc.d/abi
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="abi"
+desc="Enable foreign ABIs"
start_cmd="${name}_start"
stop_cmd=":"
diff --git a/etc/rc.d/amd b/etc/rc.d/amd
index 3775760..123e89f 100755
--- a/etc/rc.d/amd
+++ b/etc/rc.d/amd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="amd"
+desc="Automatically mount filesystems"
rcvar="amd_enable"
command="/usr/sbin/${name}"
start_precmd="amd_precmd"
diff --git a/etc/rc.d/apm b/etc/rc.d/apm
index 5633377..55e33d0 100755
--- a/etc/rc.d/apm
+++ b/etc/rc.d/apm
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="apm"
+desc="Advanced power management"
rcvar="apm_enable"
start_precmd="apm_precmd"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/apmd b/etc/rc.d/apmd
index beca912..9675100 100755
--- a/etc/rc.d/apmd
+++ b/etc/rc.d/apmd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="apmd"
+desc="Advanced power management daemon"
rcvar="apmd_enable"
command="/usr/sbin/${name}"
start_precmd="apmd_prestart"
diff --git a/etc/rc.d/auditd b/etc/rc.d/auditd
index 25aab29..8e078ec 100755
--- a/etc/rc.d/auditd
+++ b/etc/rc.d/auditd
@@ -13,6 +13,7 @@
. /etc/rc.subr
name="auditd"
+desc="Audit daemon"
stop_cmd="auditd_stop"
command="/usr/sbin/${name}"
rcvar="auditd_enable"
diff --git a/etc/rc.d/auditdistd b/etc/rc.d/auditdistd
index f8c8195..13cb5d5 100644
--- a/etc/rc.d/auditdistd
+++ b/etc/rc.d/auditdistd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="auditdistd"
+desc="Audit trail files distribution daemon"
rcvar="${name}_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/automountd b/etc/rc.d/automountd
index 01a2e0b..c772494 100644
--- a/etc/rc.d/automountd
+++ b/etc/rc.d/automountd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="automountd"
+desc="daemon handling autofs mount requests"
rcvar="autofs_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/autounmountd b/etc/rc.d/autounmountd
index 49a27ba..aa24d51 100644
--- a/etc/rc.d/autounmountd
+++ b/etc/rc.d/autounmountd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="autounmountd"
+desc="daemon unmounting automounted filesystems"
rcvar="autofs_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/bgfsck b/etc/rc.d/bgfsck
index c1d1a4d..e83f6fb 100755
--- a/etc/rc.d/bgfsck
+++ b/etc/rc.d/bgfsck
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="background_fsck"
+desc="Run fsck in background"
rcvar="background_fsck"
start_cmd="bgfsck_start"
start_precmd="bgfsck_start_precmd"
diff --git a/etc/rc.d/bluetooth b/etc/rc.d/bluetooth
index 183f835..5f5a834 100755
--- a/etc/rc.d/bluetooth
+++ b/etc/rc.d/bluetooth
@@ -33,6 +33,7 @@
. /etc/rc.subr
name="bluetooth"
+desc="Bluetooth setup script"
rcvar=
start_cmd="bluetooth_start"
stop_cmd="bluetooth_stop"
diff --git a/etc/rc.d/bootparams b/etc/rc.d/bootparams
index de77442..0fdbee0 100755
--- a/etc/rc.d/bootparams
+++ b/etc/rc.d/bootparams
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="bootparamd"
+desc="Boot parameter daemon"
rcvar="bootparamd_enable"
required_files="/etc/bootparams"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/bridge b/etc/rc.d/bridge
index 93e68a2..95e4eb9 100755
--- a/etc/rc.d/bridge
+++ b/etc/rc.d/bridge
@@ -33,6 +33,7 @@
. /etc/network.subr
name="bridge"
+desc="Network bridge setup"
start_cmd="bridge_start"
stop_cmd="bridge_stop"
cmd=""
diff --git a/etc/rc.d/bsnmpd b/etc/rc.d/bsnmpd
index 7700b39..a29926f 100755
--- a/etc/rc.d/bsnmpd
+++ b/etc/rc.d/bsnmpd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="bsnmpd"
+desc="Simple and extensible SNMP daemon"
rcvar="bsnmpd_enable"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/bthidd b/etc/rc.d/bthidd
index 7c5ccf3..37e0e29 100755
--- a/etc/rc.d/bthidd
+++ b/etc/rc.d/bthidd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="bthidd"
+desc="Bluetooth HID daemon"
rcvar="bthidd_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/ccd b/etc/rc.d/ccd
index 1188148..5306002 100755
--- a/etc/rc.d/ccd
+++ b/etc/rc.d/ccd
@@ -9,6 +9,7 @@
. /etc/rc.subr
name="ccd"
+desc"Concatenated disks setup"
start_cmd="ccd_start"
stop_cmd=":"
diff --git a/etc/rc.d/cleanvar b/etc/rc.d/cleanvar
index c1e90d5..e60890d 100755
--- a/etc/rc.d/cleanvar
+++ b/etc/rc.d/cleanvar
@@ -9,6 +9,7 @@
. /etc/rc.subr
name="cleanvar"
+desc="Purge /var directory"
rcvar="cleanvar_enable"
start_precmd="${name}_prestart"
diff --git a/etc/rc.d/cleartmp b/etc/rc.d/cleartmp
index 94c421a..72e6c3e 100755
--- a/etc/rc.d/cleartmp
+++ b/etc/rc.d/cleartmp
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="cleartmp"
+desc="Purge /tmp directory"
# Disguise rcvar for the start method to run irrespective of its setting.
rcvar1="clear_tmp_enable"
start_cmd="${name}_start"
diff --git a/etc/rc.d/cron b/etc/rc.d/cron
index e2776ba..22428da 100755
--- a/etc/rc.d/cron
+++ b/etc/rc.d/cron
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="cron"
+desc="Daemon to execute scheduled commands"
rcvar="cron_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/ctld b/etc/rc.d/ctld
index 87fb816..1364d4f 100755
--- a/etc/rc.d/ctld
+++ b/etc/rc.d/ctld
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="ctld"
+desc="CAM Target Layer / iSCSI target daemon"
rcvar="ctld_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/ddb b/etc/rc.d/ddb
index 86c5c99..5542d15 100755
--- a/etc/rc.d/ddb
+++ b/etc/rc.d/ddb
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="ddb"
+desc="DDB kernel debugger"
rcvar="ddb_enable"
command="/sbin/${name}"
start_precmd="ddb_prestart"
diff --git a/etc/rc.d/defaultroute b/etc/rc.d/defaultroute
index 8e87775..cc10a01 100755
--- a/etc/rc.d/defaultroute
+++ b/etc/rc.d/defaultroute
@@ -13,6 +13,7 @@
. /etc/network.subr
name="defaultroute"
+desc="Setup default router"
start_cmd="defaultroute_start"
stop_cmd=":"
diff --git a/etc/rc.d/devd b/etc/rc.d/devd
index 53532cc..ef0c204 100755
--- a/etc/rc.d/devd
+++ b/etc/rc.d/devd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="devd"
+desc="Device state change daemon"
rcvar="devd_enable"
command="/sbin/${name}"
diff --git a/etc/rc.d/devfs b/etc/rc.d/devfs
index 206a3ed..1e7697d 100755
--- a/etc/rc.d/devfs
+++ b/etc/rc.d/devfs
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="devfs"
+desc="Device filesystem"
start_cmd='devfs_start'
stop_cmd=':'
diff --git a/etc/rc.d/dhclient b/etc/rc.d/dhclient
index 8fe0931..332be4c 100755
--- a/etc/rc.d/dhclient
+++ b/etc/rc.d/dhclient
@@ -12,6 +12,7 @@
ifn="$2"
name="dhclient"
+desc="Dynamic Host Configuration Protocol (DHCP) client"
rcvar=
pidfile="/var/run/${name}.${ifn}.pid"
start_precmd="dhclient_prestart"
diff --git a/etc/rc.d/dmesg b/etc/rc.d/dmesg
index 7a9624a..3da6196 100755
--- a/etc/rc.d/dmesg
+++ b/etc/rc.d/dmesg
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="dmesg"
+desc="Save kernel boot messages to disk"
rcvar="dmesg_enable"
dmesg_file="/var/run/dmesg.boot"
start_cmd="do_dmesg"
diff --git a/etc/rc.d/dumpon b/etc/rc.d/dumpon
index ce5fc1c..b6892f9 100755
--- a/etc/rc.d/dumpon
+++ b/etc/rc.d/dumpon
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="dumpon"
+desc="Dump kernel corefiles from swap to disk"
start_cmd="dumpon_start"
stop_cmd="dumpon_stop"
diff --git a/etc/rc.d/fsck b/etc/rc.d/fsck
index 7cfa406..23bbe2e 100755
--- a/etc/rc.d/fsck
+++ b/etc/rc.d/fsck
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="fsck"
+desc="Run file system checks"
start_cmd="fsck_start"
stop_cmd=":"
diff --git a/etc/rc.d/ftp-proxy b/etc/rc.d/ftp-proxy
index f97b76b..76bbb6a 100755
--- a/etc/rc.d/ftp-proxy
+++ b/etc/rc.d/ftp-proxy
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ftpproxy"
+desc="Internet File Transfer Protocol proxy daemon"
rcvar="ftpproxy_enable"
command="/usr/sbin/ftp-proxy"
diff --git a/etc/rc.d/ftpd b/etc/rc.d/ftpd
index c7efe67..dc623ea 100755
--- a/etc/rc.d/ftpd
+++ b/etc/rc.d/ftpd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ftpd"
+desc="Internet File Transfer Protocol daemon"
rcvar="ftpd_enable"
command="/usr/libexec/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/gbde b/etc/rc.d/gbde
index 6117b86..1bbf3e4 100755
--- a/etc/rc.d/gbde
+++ b/etc/rc.d/gbde
@@ -12,6 +12,7 @@
. /etc/rc.subr
name="gbde"
+desc="GEOM Based Disk Encryption"
start_precmd="find_gbde_devices start"
stop_precmd="find_gbde_devices stop"
start_cmd="gbde_start"
diff --git a/etc/rc.d/geli b/etc/rc.d/geli
index 77fff39..57f6ddf 100755
--- a/etc/rc.d/geli
+++ b/etc/rc.d/geli
@@ -33,6 +33,7 @@
. /etc/rc.subr
name="geli"
+desc="GELI disk encryption"
start_precmd='[ -n "$(geli_make_list)" ]'
start_cmd="geli_start"
stop_cmd="geli_stop"
diff --git a/etc/rc.d/geli2 b/etc/rc.d/geli2
index 76f44d8..79d4279 100755
--- a/etc/rc.d/geli2
+++ b/etc/rc.d/geli2
@@ -34,6 +34,7 @@
. /etc/rc.subr
name="geli2"
+name="GELI disk encryption"
start_cmd="geli2_start"
stop_cmd=":"
diff --git a/etc/rc.d/growfs b/etc/rc.d/growfs
index cc0ed11..b789455 100755
--- a/etc/rc.d/growfs
+++ b/etc/rc.d/growfs
@@ -41,6 +41,7 @@
. /etc/rc.subr
name="growfs"
+desc="Grow root partition to fill device"
start_cmd="growfs_start"
stop_cmd=":"
rcvar="growfs_enable"
diff --git a/etc/rc.d/gssd b/etc/rc.d/gssd
index e981478..1d7e72a 100755
--- a/etc/rc.d/gssd
+++ b/etc/rc.d/gssd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name=gssd
+desc="Generic Security Services Daemon"
rcvar=gssd_enable
load_rc_config $name
diff --git a/etc/rc.d/hastd b/etc/rc.d/hastd
index 534dc66..c170be4 100755
--- a/etc/rc.d/hastd
+++ b/etc/rc.d/hastd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="hastd"
+desc="Highly Available Storage daemon"
rcvar="hastd_enable"
pidfile="/var/run/${name}.pid"
command="/sbin/${name}"
diff --git a/etc/rc.d/hcsecd b/etc/rc.d/hcsecd
index 691b14b..3c8f0e7 100755
--- a/etc/rc.d/hcsecd
+++ b/etc/rc.d/hcsecd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="hcsecd"
+desc="Control link keys and PIN codes for Bluetooth devices"
rcvar="hcsecd_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/hostapd b/etc/rc.d/hostapd
index 95d315b..d0c2d88 100755
--- a/etc/rc.d/hostapd
+++ b/etc/rc.d/hostapd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="hostapd"
+desc="Authenticator for IEEE 802.11 networks"
command="/usr/sbin/${name}"
ifn="$2"
diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid
index 281b241..b3c255b 100755
--- a/etc/rc.d/hostid
+++ b/etc/rc.d/hostid
@@ -35,6 +35,7 @@
. /etc/rc.subr
name="hostid"
+desc="Generate a unique host ID"
start_cmd="hostid_start"
stop_cmd=":"
reset_cmd="hostid_reset"
diff --git a/etc/rc.d/hostid_save b/etc/rc.d/hostid_save
index 9741aec..1a52068 100755
--- a/etc/rc.d/hostid_save
+++ b/etc/rc.d/hostid_save
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="hostid_save"
+desc="Save unique host ID to disk"
start_cmd="hostid_save"
stop_cmd=":"
rcvar="hostid_enable"
diff --git a/etc/rc.d/hostname b/etc/rc.d/hostname
index 3c239c4..6b5d350 100755
--- a/etc/rc.d/hostname
+++ b/etc/rc.d/hostname
@@ -34,6 +34,7 @@
. /etc/network.subr
name="hostname"
+desc="Set the system\'s hostname"
start_cmd="hostname_start"
stop_cmd=":"
diff --git a/etc/rc.d/inetd b/etc/rc.d/inetd
index 5a32e1c..aa8ac20 100755
--- a/etc/rc.d/inetd
+++ b/etc/rc.d/inetd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="inetd"
+desc="Internet \"super-server\""
rcvar="inetd_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/ip6addrctl b/etc/rc.d/ip6addrctl
index 8b7486f..8752f09 100755
--- a/etc/rc.d/ip6addrctl
+++ b/etc/rc.d/ip6addrctl
@@ -12,6 +12,7 @@
. /etc/network.subr
name="ip6addrctl"
+desc="configure address selection policy for IPv6 and IPv4"
rcvar="ip6addrctl_enable"
start_cmd="ip6addrctl_start"
stop_cmd="ip6addrctl_stop"
diff --git a/etc/rc.d/ipfilter b/etc/rc.d/ipfilter
index 79c2b2e..5c1a868 100755
--- a/etc/rc.d/ipfilter
+++ b/etc/rc.d/ipfilter
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ipfilter"
+desc="IP packet filter"
rcvar="ipfilter_enable"
load_rc_config $name
stop_precmd="test -f ${ipfilter_rules} -o -f ${ipv6_ipfilter_rules}"
diff --git a/etc/rc.d/ipfs b/etc/rc.d/ipfs
index ac6d5c2..0cb968f 100755
--- a/etc/rc.d/ipfs
+++ b/etc/rc.d/ipfs
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ipfs"
+desc="Saves and restores information for NAT and state tables"
rcvar="ipfs_enable"
start_cmd="ipfs_start"
stop_cmd="ipfs_stop"
diff --git a/etc/rc.d/ipfw b/etc/rc.d/ipfw
index e84445c..beccaff 100755
--- a/etc/rc.d/ipfw
+++ b/etc/rc.d/ipfw
@@ -11,6 +11,7 @@
. /etc/network.subr
name="ipfw"
+desc="Firewall, traffic shaper, packet scheduler, in-kernel NAT"
rcvar="firewall_enable"
start_cmd="ipfw_start"
start_precmd="ipfw_prestart"
diff --git a/etc/rc.d/ipmon b/etc/rc.d/ipmon
index 8e42a18..129bdda 100755
--- a/etc/rc.d/ipmon
+++ b/etc/rc.d/ipmon
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="ipmon"
+desc="Monitors /dev/ipl for logged packets"
rcvar="ipmon_enable"
command="/sbin/${name}"
start_precmd="ipmon_precmd"
diff --git a/etc/rc.d/ipnat b/etc/rc.d/ipnat
index a265916..6914bce 100755
--- a/etc/rc.d/ipnat
+++ b/etc/rc.d/ipnat
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ipnat"
+desc="user interface to the NAT subsystem"
rcvar="ipnat_enable"
load_rc_config $name
start_cmd="ipnat_start"
diff --git a/etc/rc.d/ipsec b/etc/rc.d/ipsec
index c2e0b5f..5e12f64 100755
--- a/etc/rc.d/ipsec
+++ b/etc/rc.d/ipsec
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="ipsec"
+desc="Internet Protocol Security protocol"
rcvar="ipsec_enable"
start_precmd="ipsec_prestart"
start_cmd="ipsec_start"
diff --git a/etc/rc.d/iscsictl b/etc/rc.d/iscsictl
index 0925e0a..6ae3910 100755
--- a/etc/rc.d/iscsictl
+++ b/etc/rc.d/iscsictl
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="iscsictl"
+desc="iSCSI initiator management utility"
rcvar="iscsictl_enable"
command="/usr/bin/${name}"
command_args="${iscsictl_flags}"
diff --git a/etc/rc.d/iscsid b/etc/rc.d/iscsid
index 287631d..3b1cb6f 100755
--- a/etc/rc.d/iscsid
+++ b/etc/rc.d/iscsid
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="iscsid"
+desc="iSCSI initiator daemon"
rcvar="iscsid_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/jail b/etc/rc.d/jail
index f7d6d3d..5e2c66a 100755
--- a/etc/rc.d/jail
+++ b/etc/rc.d/jail
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="jail"
+desc="Manage system jails"
rcvar="jail_enable"
start_cmd="jail_start"
diff --git a/etc/rc.d/kadmind b/etc/rc.d/kadmind
index d4acd7c..773b2d0 100755
--- a/etc/rc.d/kadmind
+++ b/etc/rc.d/kadmind
@@ -10,6 +10,7 @@
. /etc/rc.subr
name=kadmind
+desc="Server for administrative access to Kerberos database"
rcvar=${name}_enable
required_vars=kdc_enable
start_precmd=${name}_start_precmd
diff --git a/etc/rc.d/kdc b/etc/rc.d/kdc
index aef96df..f85e5f4 100755
--- a/etc/rc.d/kdc
+++ b/etc/rc.d/kdc
@@ -10,6 +10,7 @@
. /etc/rc.subr
name=kdc
+desc="Kerberos 5 server"
rcvar=${name}_enable
start_precmd=${name}_start_precmd
diff --git a/etc/rc.d/keyserv b/etc/rc.d/keyserv
index 33c631a..d2f4a29 100755
--- a/etc/rc.d/keyserv
+++ b/etc/rc.d/keyserv
@@ -13,6 +13,7 @@
. /etc/rc.subr
name="keyserv"
+desc="Server for storing private encryption keys"
rcvar="keyserv_enable"
command="/usr/sbin/${name}"
start_precmd="keyserv_prestart"
diff --git a/etc/rc.d/kfd b/etc/rc.d/kfd
index b6d9365..5a1a16c 100755
--- a/etc/rc.d/kfd
+++ b/etc/rc.d/kfd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name=kfd
+desc="Receive forwarded tickets"
rcvar=${name}_enable
start_precmd=${name}_start_precmd
diff --git a/etc/rc.d/kld b/etc/rc.d/kld
index 3adcef2..d3829ef 100755
--- a/etc/rc.d/kld
+++ b/etc/rc.d/kld
@@ -33,6 +33,7 @@
. /etc/rc.subr
name="kld"
+desc="Load kernel modules"
start_cmd="${name}_start"
stop_cmd=':'
diff --git a/etc/rc.d/kldxref b/etc/rc.d/kldxref
index 744036f..83609ae 100755
--- a/etc/rc.d/kldxref
+++ b/etc/rc.d/kldxref
@@ -12,6 +12,7 @@
rcvar="kldxref_enable"
name="kldxref"
+desc="Generate hints for the kernel loader"
stop_cmd=":"
start_cmd="kldxref_start"
diff --git a/etc/rc.d/kpasswdd b/etc/rc.d/kpasswdd
index cf72d80..a2875bf 100755
--- a/etc/rc.d/kpasswdd
+++ b/etc/rc.d/kpasswdd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name=kpasswdd
+desc="Kerberos 5 password changing"
rcvar=${name}_enable
required_vars=kdc_enable
start_precmd=${name}_start_precmd
diff --git a/etc/rc.d/ldconfig b/etc/rc.d/ldconfig
index 08a2237..9ecb172 100755
--- a/etc/rc.d/ldconfig
+++ b/etc/rc.d/ldconfig
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ldconfig"
+desc="Configure the shared library cache"
ldconfig_command="/sbin/ldconfig"
start_cmd="ldconfig_start"
stop_cmd=":"
diff --git a/etc/rc.d/local b/etc/rc.d/local
index 61a0852..c5aa0e4 100755
--- a/etc/rc.d/local
+++ b/etc/rc.d/local
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="local"
+desc="Run /etc/rc.local and /etc/shutdown.local"
start_cmd="local_start"
stop_cmd="local_stop"
diff --git a/etc/rc.d/local_unbound b/etc/rc.d/local_unbound
index 0cd1ff3..d5c2b79 100755
--- a/etc/rc.d/local_unbound
+++ b/etc/rc.d/local_unbound
@@ -11,7 +11,7 @@
. /etc/rc.subr
name="local_unbound"
-desc="local caching forwarding resolver"
+desc="Local caching forwarding resolver"
rcvar="local_unbound_enable"
command="/usr/sbin/unbound"
diff --git a/etc/rc.d/localpkg b/etc/rc.d/localpkg
index b3a3f68..1214a26 100755
--- a/etc/rc.d/localpkg
+++ b/etc/rc.d/localpkg
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="localpkg"
+desc="Run local init scripts"
start_cmd="pkg_start"
stop_cmd="pkg_stop"
diff --git a/etc/rc.d/lockd b/etc/rc.d/lockd
index 9704773..565ba35 100755
--- a/etc/rc.d/lockd
+++ b/etc/rc.d/lockd
@@ -12,6 +12,7 @@
. /etc/rc.subr
name="lockd"
+desc="NFS file locking daemon"
rcvar=rpc_lockd_enable
command="/usr/sbin/rpc.${name}"
start_precmd='lockd_precmd'
diff --git a/etc/rc.d/lpd b/etc/rc.d/lpd
index 6a74267..fc8180c 100755
--- a/etc/rc.d/lpd
+++ b/etc/rc.d/lpd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="lpd"
+desc="Line printer spooler daemon"
rcvar="lpd_enable"
command="/usr/sbin/${name}"
required_files="/etc/printcap"
diff --git a/etc/rc.d/mdconfig b/etc/rc.d/mdconfig
index fecdef6..26f282b 100755
--- a/etc/rc.d/mdconfig
+++ b/etc/rc.d/mdconfig
@@ -33,6 +33,7 @@
. /etc/rc.subr
name="mdconfig"
+desc="Create and control memory disks"
stop_cmd="mdconfig_stop"
start_cmd="mdconfig_start"
start_precmd='[ -n "${_mdconfig_list}" ]'
diff --git a/etc/rc.d/mdconfig2 b/etc/rc.d/mdconfig2
index 234459f..3a7f263 100755
--- a/etc/rc.d/mdconfig2
+++ b/etc/rc.d/mdconfig2
@@ -34,6 +34,7 @@
. /etc/rc.subr
name="mdconfig2"
+desc="Create and control memory disks"
stop_cmd="mdconfig2_stop"
start_cmd="mdconfig2_start"
start_precmd='[ -n "${_mdconfig2_list}" ]'
diff --git a/etc/rc.d/mixer b/etc/rc.d/mixer
index 0719441..d815fb7 100755
--- a/etc/rc.d/mixer
+++ b/etc/rc.d/mixer
@@ -34,6 +34,7 @@
. /etc/rc.subr
name="mixer"
+desc="Save and restore soundcard mixer values"
rcvar="mixer_enable"
stop_cmd="mixer_stop"
start_cmd="mixer_start"
diff --git a/etc/rc.d/motd b/etc/rc.d/motd
index 8256d96..acb3767 100755
--- a/etc/rc.d/motd
+++ b/etc/rc.d/motd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="motd"
+desc="Update /etc/motd"
rcvar="update_motd"
start_cmd="motd_start"
stop_cmd=":"
diff --git a/etc/rc.d/mountcritlocal b/etc/rc.d/mountcritlocal
index 069e3fd..798130d 100755
--- a/etc/rc.d/mountcritlocal
+++ b/etc/rc.d/mountcritlocal
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="mountcritlocal"
+desc="Mount critical local filesystems"
start_cmd="mountcritlocal_start"
stop_cmd=sync
@@ -28,7 +29,7 @@ mountcritlocal_start()
esac
# Mount everything except nfs filesystems.
- check_startmsgs && echo -n 'Mounting local file systems:'
+ check_startmsgs && echo -n 'Mounting local filesystems:'
mount_excludes='no'
for i in ${netfs_types}; do
fstype=${i%:*}
diff --git a/etc/rc.d/mountcritremote b/etc/rc.d/mountcritremote
index feb1b78..2af48b6 100755
--- a/etc/rc.d/mountcritremote
+++ b/etc/rc.d/mountcritremote
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="mountcritremote"
+desc="Mount critical remote filesystems"
stop_cmd=":"
start_cmd="mountcritremote_start"
start_precmd="mountcritremote_precmd"
@@ -40,7 +41,7 @@ mountcritremote_start()
'')
;;
*)
- echo -n 'Mounting NFS file systems:'
+ echo -n 'Mounting NFS filesystems:'
mount -a -t nfs
echo '.'
;;
@@ -63,7 +64,7 @@ mountcritremote_start()
case "`mount -d -a -t ${fstype}`" in
*mount_${fstype}*)
- echo -n "Mounting ${fsdecr} file systems:"
+ echo -n "Mounting ${fsdecr} filesystems:"
mount -a -t ${fstype}
echo '.'
;;
diff --git a/etc/rc.d/mountd b/etc/rc.d/mountd
index a7ad6c2..e554a1f 100755
--- a/etc/rc.d/mountd
+++ b/etc/rc.d/mountd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="mountd"
+desc="Service remote NFS mount requests"
rcvar="mountd_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/mountlate b/etc/rc.d/mountlate
index 34defc5..f0384ad 100755
--- a/etc/rc.d/mountlate
+++ b/etc/rc.d/mountlate
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="mountlate"
+desc="Mount filesystems with \"late\" option from /etc/fstab"
start_cmd="mountlate_start"
stop_cmd=":"
@@ -21,7 +22,7 @@ mountlate_start()
# Mount "late" filesystems.
#
err=0
- echo -n 'Mounting late file systems:'
+ echo -n 'Mounting late filesystems:'
mount -a -L
err=$?
echo '.'
diff --git a/etc/rc.d/moused b/etc/rc.d/moused
index 57419a0..84f886c 100755
--- a/etc/rc.d/moused
+++ b/etc/rc.d/moused
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="moused"
+desc="Mouse daemon"
rcvar="moused_enable"
command="/usr/sbin/${name}"
start_cmd="moused_start"
diff --git a/etc/rc.d/msgs b/etc/rc.d/msgs
index 8bcc26c..d328c33 100755
--- a/etc/rc.d/msgs
+++ b/etc/rc.d/msgs
@@ -9,6 +9,7 @@
. /etc/rc.subr
name="msgs"
+desc="Make a bounds file for msgs(1)"
start_cmd="msgs_start"
stop_cmd=":"
diff --git a/etc/rc.d/natd b/etc/rc.d/natd
index 35f17bb..1a16d98 100755
--- a/etc/rc.d/natd
+++ b/etc/rc.d/natd
@@ -10,6 +10,7 @@
. /etc/network.subr
name="natd"
+desc="Network Address Translation daemon"
rcvar="natd_enable"
command="/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/netif b/etc/rc.d/netif
index 5ed9562..6174585 100755
--- a/etc/rc.d/netif
+++ b/etc/rc.d/netif
@@ -34,6 +34,7 @@
. /etc/network.subr
name="netif"
+desc="Network interface setup"
rcvar="${name}_enable"
start_cmd="netif_start"
stop_cmd="netif_stop"
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index 1547ade..fda0229 100755
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -12,6 +12,7 @@
. /etc/network.subr
name="netoptions"
+desc="Network options setup"
start_cmd="netoptions_start"
stop_cmd=:
diff --git a/etc/rc.d/netwait b/etc/rc.d/netwait
index e9c23ca..ab80cec 100755
--- a/etc/rc.d/netwait
+++ b/etc/rc.d/netwait
@@ -21,6 +21,7 @@
. /etc/rc.subr
name="netwait"
+desc="Wait for network devices or the network being up"
rcvar="netwait_enable"
start_cmd="${name}_start"
diff --git a/etc/rc.d/newsyslog b/etc/rc.d/newsyslog
index a9d9b60..740fcfe 100755
--- a/etc/rc.d/newsyslog
+++ b/etc/rc.d/newsyslog
@@ -9,6 +9,7 @@
. /etc/rc.subr
name="newsyslog"
+desc="Logfile rotation"
rcvar="newsyslog_enable"
required_files="/etc/newsyslog.conf"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/nfscbd b/etc/rc.d/nfscbd
index bfc4966..e8a3747 100755
--- a/etc/rc.d/nfscbd
+++ b/etc/rc.d/nfscbd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="nfscbd"
+desc="NFSv4 client side callback daemon"
rcvar="nfscbd_enable"
command="/usr/sbin/${name}"
sig_stop="USR1"
diff --git a/etc/rc.d/nfsclient b/etc/rc.d/nfsclient
index fa7906d..2acfb84 100755
--- a/etc/rc.d/nfsclient
+++ b/etc/rc.d/nfsclient
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="nfsclient"
+desc="NFS client setup"
rcvar="nfs_client_enable"
start_cmd="nfsclient_start"
stop_cmd="unmount_all"
diff --git a/etc/rc.d/nfsd b/etc/rc.d/nfsd
index fefe390..c1b618e 100755
--- a/etc/rc.d/nfsd
+++ b/etc/rc.d/nfsd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="nfsd"
+desc="Remote NFS server"
rcvar="nfs_server_enable"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/nfsuserd b/etc/rc.d/nfsuserd
index d98d16e..804b124 100755
--- a/etc/rc.d/nfsuserd
+++ b/etc/rc.d/nfsuserd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="nfsuserd"
+desc="Load user and group information into the kernel for NFSv4 services and support manage-gids for all NFS versions"
rcvar="nfsuserd_enable"
command="/usr/sbin/${name}"
sig_stop="USR1"
diff --git a/etc/rc.d/nisdomain b/etc/rc.d/nisdomain
index 9763a9a..2569931 100755
--- a/etc/rc.d/nisdomain
+++ b/etc/rc.d/nisdomain
@@ -33,6 +33,7 @@
. /etc/rc.subr
name="nisdomain"
+desc="Set NIS domain name"
start_cmd="nisdomain_start"
stop_cmd=":"
diff --git a/etc/rc.d/nscd b/etc/rc.d/nscd
index 22c8459..7663fc4 100755
--- a/etc/rc.d/nscd
+++ b/etc/rc.d/nscd
@@ -19,6 +19,7 @@
. /etc/rc.subr
name="nscd"
+desc="Name-service caching daemon"
rcvar="nscd_enable"
command=/usr/sbin/nscd
diff --git a/etc/rc.d/nsswitch b/etc/rc.d/nsswitch
index caca52f..5d3d4bb 100755
--- a/etc/rc.d/nsswitch
+++ b/etc/rc.d/nsswitch
@@ -33,6 +33,7 @@
. /etc/rc.subr
name="nsswitch"
+desc="Name-service switch"
start_cmd="nsswitch_start"
stop_cmd=":"
diff --git a/etc/rc.d/ntpd b/etc/rc.d/ntpd
index fe2fc4b..d729fe0 100755
--- a/etc/rc.d/ntpd
+++ b/etc/rc.d/ntpd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="ntpd"
+desc="Network Time Protocol daemon"
rcvar="ntpd_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/ntpdate b/etc/rc.d/ntpdate
index de7a132..8f5b273 100755
--- a/etc/rc.d/ntpdate
+++ b/etc/rc.d/ntpdate
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ntpdate"
+desc="Set the date and time via NTP"
rcvar="ntpdate_enable"
stop_cmd=":"
start_cmd="ntpdate_start"
diff --git a/etc/rc.d/pf b/etc/rc.d/pf
index 323e639..4f8cbfc 100755
--- a/etc/rc.d/pf
+++ b/etc/rc.d/pf
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="pf"
+desc="Packet filter"
rcvar="pf_enable"
load_rc_config $name
start_cmd="pf_start"
diff --git a/etc/rc.d/pflog b/etc/rc.d/pflog
index 8f6bcb4..fc80975 100755
--- a/etc/rc.d/pflog
+++ b/etc/rc.d/pflog
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="pflog"
+desc="Packet filter logging interface"
rcvar="pflog_enable"
command="/sbin/pflogd"
pidfile="/var/run/pflogd.pid"
diff --git a/etc/rc.d/pfsync b/etc/rc.d/pfsync
index 3c46575..cc8e85f 100755
--- a/etc/rc.d/pfsync
+++ b/etc/rc.d/pfsync
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="pfsync"
+desc="Packet filter state table sychronisation interface"
rcvar="pfsync_enable"
start_precmd="pfsync_prestart"
start_cmd="pfsync_start"
diff --git a/etc/rc.d/power_profile b/etc/rc.d/power_profile
index 7484ca0..b7de080 100755
--- a/etc/rc.d/power_profile
+++ b/etc/rc.d/power_profile
@@ -15,6 +15,7 @@
. /etc/rc.subr
name="power_profile"
+desc="Modify the power profile based on AC line state"
stop_cmd=':'
LOGGER="logger -t power_profile -p daemon.notice"
diff --git a/etc/rc.d/powerd b/etc/rc.d/powerd
index 84a260f..2fc783a 100755
--- a/etc/rc.d/powerd
+++ b/etc/rc.d/powerd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="powerd"
+desc="Modify the power profile based on AC line state"
rcvar="powerd_enable"
command="/usr/sbin/${name}"
stop_postcmd=powerd_poststop
diff --git a/etc/rc.d/ppp b/etc/rc.d/ppp
index 4c3b377..93d0655 100755
--- a/etc/rc.d/ppp
+++ b/etc/rc.d/ppp
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ppp"
+desc="Point to Point Protocol"
rcvar="ppp_enable"
command="/usr/sbin/${name}"
start_cmd="ppp_start"
diff --git a/etc/rc.d/pppoed b/etc/rc.d/pppoed
index b60fdaa..7e84859 100755
--- a/etc/rc.d/pppoed
+++ b/etc/rc.d/pppoed
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="pppoed"
+desc="Handle incoming PPP over Ethernet connections"
rcvar="pppoed_enable"
start_cmd="pppoed_start"
# XXX stop_cmd will not be straightforward
diff --git a/etc/rc.d/pwcheck b/etc/rc.d/pwcheck
index a8df716..c5c5c22 100755
--- a/etc/rc.d/pwcheck
+++ b/etc/rc.d/pwcheck
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="pwcheck"
+desc="Check password file correctness"
start_cmd="pwcheck_start"
stop_cmd=":"
diff --git a/etc/rc.d/quota b/etc/rc.d/quota
index eceb283..127c047 100755
--- a/etc/rc.d/quota
+++ b/etc/rc.d/quota
@@ -13,6 +13,7 @@
. /etc/rc.subr
name="quota"
+desc="Enable/check the quotas"
rcvar="quota_enable"
load_rc_config $name
start_cmd="quota_start"
diff --git a/etc/rc.d/random b/etc/rc.d/random
index ddd37e1..179ccc7 100755
--- a/etc/rc.d/random
+++ b/etc/rc.d/random
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="random"
+desc="Harvest and save entropy for random device"
start_cmd="random_start"
stop_cmd="random_stop"
diff --git a/etc/rc.d/rarpd b/etc/rc.d/rarpd
index 3340293..433139a 100755
--- a/etc/rc.d/rarpd
+++ b/etc/rc.d/rarpd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="rarpd"
+desc="Reverse ARP daemon"
rcvar="rarpd_enable"
command="/usr/sbin/${name}"
required_files="/etc/ethers"
diff --git a/etc/rc.d/rctl b/etc/rc.d/rctl
index 85c0c20..ed56654 100755
--- a/etc/rc.d/rctl
+++ b/etc/rc.d/rctl
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="rctl"
+desc="Manage resource limits"
rcvar="rctl_enable"
start_cmd="rctl_start"
stop_cmd="rctl_stop"
diff --git a/etc/rc.d/resolv b/etc/rc.d/resolv
index debd3aa..32b267d 100755
--- a/etc/rc.d/resolv
+++ b/etc/rc.d/resolv
@@ -34,6 +34,7 @@
. /etc/rc.subr
name="resolv"
+desc="Create /etc/resolv.conf from kenv"
stop_cmd=':'
load_rc_config $name
diff --git a/etc/rc.d/rfcomm_pppd_server b/etc/rc.d/rfcomm_pppd_server
index 72d2b87..990a224 100755
--- a/etc/rc.d/rfcomm_pppd_server
+++ b/etc/rc.d/rfcomm_pppd_server
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="rfcomm_pppd_server"
+desc="RFCOMM PPP daemon"
rcvar="rfcomm_pppd_server_enable"
command="/usr/sbin/rfcomm_pppd"
start_cmd="rfcomm_pppd_server_start"
diff --git a/etc/rc.d/root b/etc/rc.d/root
index 6bddb17..b528a9a 100755
--- a/etc/rc.d/root
+++ b/etc/rc.d/root
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="root"
+desc="Mount root filesystem read/write"
start_cmd="root_start"
stop_cmd=":"
diff --git a/etc/rc.d/route6d b/etc/rc.d/route6d
index eec74cf..ca8d293 100755
--- a/etc/rc.d/route6d
+++ b/etc/rc.d/route6d
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="route6d"
+desc="RIP6 routing daemon"
rcvar="route6d_enable"
set_rcvar_obsolete ipv6_router_enable route6d_enable
diff --git a/etc/rc.d/routed b/etc/rc.d/routed
index 55bab01..d0e6007 100755
--- a/etc/rc.d/routed
+++ b/etc/rc.d/routed
@@ -10,8 +10,8 @@
. /etc/rc.subr
name="routed"
+desc="Network RIP and router discovery routing daemon"
rcvar="routed_enable"
-desc="network RIP and router discovery routing daemon"
set_rcvar_obsolete router_enable routed_enable
set_rcvar_obsolete router routed_program
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 7a3c1ab..5924486 100755
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -13,6 +13,7 @@
. /etc/network.subr
name="routing"
+desc="Routing setup"
start_cmd="routing_start doall"
stop_cmd="routing_stop"
extra_commands="options static"
diff --git a/etc/rc.d/rpcbind b/etc/rc.d/rpcbind
index 60e2308..3e50a39 100755
--- a/etc/rc.d/rpcbind
+++ b/etc/rc.d/rpcbind
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="rpcbind"
+desc="Universal addresses to RPC program number mapper"
rcvar="rpcbind_enable"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd
index 732e127..10fbb7f 100755
--- a/etc/rc.d/rtadvd
+++ b/etc/rc.d/rtadvd
@@ -12,6 +12,7 @@
. /etc/network.subr
name="rtadvd"
+desc="Router advertisement daemon"
rcvar="rtadvd_enable"
command="/usr/sbin/${name}"
extra_commands="reload"
diff --git a/etc/rc.d/rtsold b/etc/rc.d/rtsold
index 9ce19f3..145c624 100755
--- a/etc/rc.d/rtsold
+++ b/etc/rc.d/rtsold
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="rtsold"
+desc="Router solicitation daemon"
rcvar="rtsold_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/rwho b/etc/rc.d/rwho
index f4137f7..b58d59b 100755
--- a/etc/rc.d/rwho
+++ b/etc/rc.d/rwho
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="rwhod"
+desc="System status server"
rcvar="rwhod_enable"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/savecore b/etc/rc.d/savecore
index 2176be9..56a34ff 100755
--- a/etc/rc.d/savecore
+++ b/etc/rc.d/savecore
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="savecore"
+desc="Save a core dump of the operating system"
start_cmd="savecore_start"
start_precmd="savecore_prestart"
stop_cmd=":"
diff --git a/etc/rc.d/sdpd b/etc/rc.d/sdpd
index 9f09a30..8e2be85 100755
--- a/etc/rc.d/sdpd
+++ b/etc/rc.d/sdpd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="sdpd"
+desc="Bluetooth Service Discovery Protocol daemon "
command="/usr/sbin/${name}"
rcvar="sdpd_enable"
required_modules="ng_btsocket"
diff --git a/etc/rc.d/securelevel b/etc/rc.d/securelevel
index 314f12e..c42a035 100755
--- a/etc/rc.d/securelevel
+++ b/etc/rc.d/securelevel
@@ -9,6 +9,7 @@
. /etc/rc.subr
name="securelevel"
+desc="Securelevel configuration"
rcvar='kern_securelevel_enable'
start_cmd="securelevel_start"
stop_cmd=":"
diff --git a/etc/rc.d/sendmail b/etc/rc.d/sendmail
index 8247097..18b6b33 100755
--- a/etc/rc.d/sendmail
+++ b/etc/rc.d/sendmail
@@ -15,6 +15,7 @@
. /etc/rc.subr
name="sendmail"
+desc="Electronic mail transport agent"
rcvar="sendmail_enable"
required_files="/etc/mail/${name}.cf"
start_precmd="sendmail_precmd"
diff --git a/etc/rc.d/sppp b/etc/rc.d/sppp
index d4a183b..b6b0287 100755
--- a/etc/rc.d/sppp
+++ b/etc/rc.d/sppp
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="sppp"
+desc="Point to point protocol network layer for synchronous lines"
start_cmd="sppp_start"
stop_cmd=":"
diff --git a/etc/rc.d/sshd b/etc/rc.d/sshd
index ab7ba9e..0da3f4f 100755
--- a/etc/rc.d/sshd
+++ b/etc/rc.d/sshd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="sshd"
+desc="Secure Shell Daemon"
rcvar="sshd_enable"
command="/usr/sbin/${name}"
keygen_cmd="sshd_keygen"
diff --git a/etc/rc.d/statd b/etc/rc.d/statd
index 5119830..2ff8d45 100755
--- a/etc/rc.d/statd
+++ b/etc/rc.d/statd
@@ -12,6 +12,7 @@
. /etc/rc.subr
name="statd"
+desc="host status monitoring daemon"
rcvar=rpc_statd_enable
command="/usr/sbin/rpc.${name}"
start_precmd='statd_precmd'
diff --git a/etc/rc.d/static_arp b/etc/rc.d/static_arp
index 6283b56..7242dcf 100755
--- a/etc/rc.d/static_arp
+++ b/etc/rc.d/static_arp
@@ -37,6 +37,7 @@
. /etc/network.subr
name="static_arp"
+desc="Static ARP Configuration"
start_cmd="static_arp_start"
stop_cmd="static_arp_stop"
diff --git a/etc/rc.d/stf b/etc/rc.d/stf
index feb7b52..5b80d5c 100755
--- a/etc/rc.d/stf
+++ b/etc/rc.d/stf
@@ -10,6 +10,7 @@
. /etc/network.subr
name="stf"
+desc="6to4 tunnel interface"
start_cmd="stf_up"
stop_cmd="stf_down"
diff --git a/etc/rc.d/swap b/etc/rc.d/swap
index 4122e61..6b8aa43 100755
--- a/etc/rc.d/swap
+++ b/etc/rc.d/swap
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="swap"
+desc="Setup swap space"
start_cmd='/sbin/swapon -aq'
stop_cmd=':'
diff --git a/etc/rc.d/swaplate b/etc/rc.d/swaplate
index 64fa989..f335481 100755
--- a/etc/rc.d/swaplate
+++ b/etc/rc.d/swaplate
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="swaplate"
+desc="Setup late swap space"
start_cmd='/sbin/swapon -aLq'
stop_cmd='/sbin/swapoff -aq'
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons
index 67a9b91..3a6ff18 100755
--- a/etc/rc.d/syscons
+++ b/etc/rc.d/syscons
@@ -34,6 +34,7 @@
. /etc/rc.subr
name="syscons"
+desc="Configure the system console"
extra_commands="setkeyboard"
setkeyboard_cmd="syscons_setkeyboard"
start_precmd="syscons_precmd"
diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl
index 6e968f7..11b10ee 100755
--- a/etc/rc.d/sysctl
+++ b/etc/rc.d/sysctl
@@ -8,6 +8,7 @@
. /etc/rc.subr
name="sysctl"
+desc="Set sysctl variables from /etc/sysctl.conf and /etc/sysctl.conf.local"
command="/sbin/sysctl"
stop_cmd=":"
start_cmd="sysctl_start"
diff --git a/etc/rc.d/syslogd b/etc/rc.d/syslogd
index 747b6f0..2351c08 100755
--- a/etc/rc.d/syslogd
+++ b/etc/rc.d/syslogd
@@ -12,6 +12,7 @@
. /etc/rc.subr
name="syslogd"
+desc="System log daemon"
rcvar="syslogd_enable"
pidfile="/var/run/syslog.pid"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/timed b/etc/rc.d/timed
index b8d7084..7126ff8 100755
--- a/etc/rc.d/timed
+++ b/etc/rc.d/timed
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="timed"
+desc="Time server daemon"
rcvar="timed_enable"
command="/usr/sbin/${name}"
diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp
index 593174d..3b75ec0 100755
--- a/etc/rc.d/tmp
+++ b/etc/rc.d/tmp
@@ -33,6 +33,7 @@
. /etc/rc.subr
name="tmp"
+desc="Configure tmpfs"
stop_cmd=':'
load_rc_config $name
diff --git a/etc/rc.d/ugidfw b/etc/rc.d/ugidfw
index 09171e4..57efde9 100755
--- a/etc/rc.d/ugidfw
+++ b/etc/rc.d/ugidfw
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ugidfw"
+desc="Firewall-like access controls for file system objects"
rcvar="ugidfw_enable"
start_cmd="ugidfw_start"
stop_cmd="ugidfw_stop"
diff --git a/etc/rc.d/utx b/etc/rc.d/utx
index 694829f..8c457a9 100755
--- a/etc/rc.d/utx
+++ b/etc/rc.d/utx
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="utx"
+desc="Manage the user accounting database"
start_cmd="utx boot"
stop_cmd="utx shutdown"
diff --git a/etc/rc.d/var b/etc/rc.d/var
index b80fcb0..f4e0389 100755
--- a/etc/rc.d/var
+++ b/etc/rc.d/var
@@ -35,6 +35,7 @@
. /etc/rc.subr
name="var"
+desc="Populate /var directory"
stop_cmd=':'
load_rc_config $name
diff --git a/etc/rc.d/virecover b/etc/rc.d/virecover
index f3bcc85..13e8dd9 100755
--- a/etc/rc.d/virecover
+++ b/etc/rc.d/virecover
@@ -12,6 +12,7 @@
. /etc/rc.subr
name="virecover"
+desc="Recover crashed vi sessions"
rcvar="virecover_enable"
stop_cmd=":"
start_cmd="virecover_start"
diff --git a/etc/rc.d/watchdogd b/etc/rc.d/watchdogd
index 9f25fbf..1de2d93 100755
--- a/etc/rc.d/watchdogd
+++ b/etc/rc.d/watchdogd
@@ -34,6 +34,7 @@
. /etc/rc.subr
name="watchdogd"
+desc="Watchdog daemon"
rcvar="watchdogd_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
diff --git a/etc/rc.d/wpa_supplicant b/etc/rc.d/wpa_supplicant
index 8514efc..8a86fec 100755
--- a/etc/rc.d/wpa_supplicant
+++ b/etc/rc.d/wpa_supplicant
@@ -11,6 +11,7 @@
. /etc/network.subr
name="wpa_supplicant"
+desc="WPA/802.11i Supplicant for wireless network devices"
rcvar=
ifn="$2"
diff --git a/etc/rc.d/ypbind b/etc/rc.d/ypbind
index 71aea92..86a2fe3 100755
--- a/etc/rc.d/ypbind
+++ b/etc/rc.d/ypbind
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="ypbind"
+desc="NIS domain binding daemon"
rcvar="nis_client_enable"
load_rc_config $name
diff --git a/etc/rc.d/yppasswdd b/etc/rc.d/yppasswdd
index cc25d9f..57ec856 100755
--- a/etc/rc.d/yppasswdd
+++ b/etc/rc.d/yppasswdd
@@ -11,6 +11,7 @@
. /etc/rc.subr
name="yppasswdd"
+desc="Server for updating NIS passwords"
rcvar="nis_yppasswdd_enable"
load_rc_config $name
diff --git a/etc/rc.d/ypserv b/etc/rc.d/ypserv
index 90e7061..bc1052b 100755
--- a/etc/rc.d/ypserv
+++ b/etc/rc.d/ypserv
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ypserv"
+desc="NIS database server"
rcvar="nis_server_enable"
load_rc_config $name
diff --git a/etc/rc.d/ypset b/etc/rc.d/ypset
index f725545..a2bedd1 100755
--- a/etc/rc.d/ypset
+++ b/etc/rc.d/ypset
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ypset"
+desc="tell ypbind(8) which YP server process to use"
rcvar="nis_ypset_enable"
load_rc_config $name
diff --git a/etc/rc.d/ypxfrd b/etc/rc.d/ypxfrd
index 63924e4..afb5a06 100755
--- a/etc/rc.d/ypxfrd
+++ b/etc/rc.d/ypxfrd
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="ypxfrd"
+desc="NIS map transfer server"
rcvar="nis_ypxfrd_enable"
load_rc_config $name
diff --git a/etc/rc.d/zfs b/etc/rc.d/zfs
index 598723a..adf1fb2 100755
--- a/etc/rc.d/zfs
+++ b/etc/rc.d/zfs
@@ -9,6 +9,7 @@
. /etc/rc.subr
name="zfs"
+desc="Mount and share ZFS datasets"
rcvar="zfs_enable"
start_cmd="zfs_start"
stop_cmd="zfs_stop"
diff --git a/etc/rc.d/zvol b/etc/rc.d/zvol
index b52f4ce..0349522 100755
--- a/etc/rc.d/zvol
+++ b/etc/rc.d/zvol
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="zvol"
+desc="Activate swap on ZVOLs"
rcvar="zfs_enable"
start_cmd="zvol_start"
stop_cmd="zvol_stop"
OpenPOWER on IntegriCloud