Index: etc/rc.d/abi =================================================================== --- etc/rc.d/abi +++ etc/rc.d/abi @@ -10,6 +10,7 @@ . /etc/rc.subr name="abi" +desc="Enable foreign ABIs" start_cmd="${name}_start" stop_cmd=":" Index: etc/rc.d/amd =================================================================== --- etc/rc.d/amd +++ etc/rc.d/amd @@ -11,6 +11,7 @@ . /etc/rc.subr name="amd" +desc="Automatically mount file systems" rcvar="amd_enable" command="/usr/sbin/${name}" start_precmd="amd_precmd" Index: etc/rc.d/apm =================================================================== --- etc/rc.d/apm +++ 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}" Index: etc/rc.d/apmd =================================================================== --- etc/rc.d/apmd +++ 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" Index: etc/rc.d/auditd =================================================================== --- etc/rc.d/auditd +++ 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" Index: etc/rc.d/auditdistd =================================================================== --- etc/rc.d/auditdistd +++ 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}" Index: etc/rc.d/automountd =================================================================== --- etc/rc.d/automountd +++ 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}" Index: etc/rc.d/autounmountd =================================================================== --- etc/rc.d/autounmountd +++ 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}" Index: etc/rc.d/bgfsck =================================================================== --- etc/rc.d/bgfsck +++ 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" Index: etc/rc.d/bluetooth =================================================================== --- etc/rc.d/bluetooth +++ 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" Index: etc/rc.d/bootparams =================================================================== --- etc/rc.d/bootparams +++ 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}" Index: etc/rc.d/bridge =================================================================== --- etc/rc.d/bridge +++ 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="" Index: etc/rc.d/bsnmpd =================================================================== --- etc/rc.d/bsnmpd +++ 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}" Index: etc/rc.d/bthidd =================================================================== --- etc/rc.d/bthidd +++ 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" Index: etc/rc.d/ccd =================================================================== --- etc/rc.d/ccd +++ etc/rc.d/ccd @@ -9,6 +9,7 @@ . /etc/rc.subr name="ccd" +desc"Concatenated disks setup" start_cmd="ccd_start" stop_cmd=":" Index: etc/rc.d/cleanvar =================================================================== --- etc/rc.d/cleanvar +++ etc/rc.d/cleanvar @@ -9,6 +9,7 @@ . /etc/rc.subr name="cleanvar" +desc="Purge /var directory" rcvar="cleanvar_enable" start_precmd="${name}_prestart" Index: etc/rc.d/cleartmp =================================================================== --- etc/rc.d/cleartmp +++ 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" Index: etc/rc.d/cron =================================================================== --- etc/rc.d/cron +++ 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" Index: etc/rc.d/ctld =================================================================== --- etc/rc.d/ctld +++ 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}" Index: etc/rc.d/ddb =================================================================== --- etc/rc.d/ddb +++ 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" Index: etc/rc.d/defaultroute =================================================================== --- etc/rc.d/defaultroute +++ etc/rc.d/defaultroute @@ -13,6 +13,7 @@ . /etc/network.subr name="defaultroute" +desc="Setup default router" start_cmd="defaultroute_start" stop_cmd=":" Index: etc/rc.d/devd =================================================================== --- etc/rc.d/devd +++ etc/rc.d/devd @@ -11,6 +11,7 @@ . /etc/rc.subr name="devd" +desc="Device state change daemon" rcvar="devd_enable" command="/sbin/${name}" Index: etc/rc.d/devfs =================================================================== --- etc/rc.d/devfs +++ etc/rc.d/devfs @@ -11,6 +11,7 @@ . /etc/rc.subr name="devfs" +desc="Device filesystem" start_cmd='devfs_start' stop_cmd=':' Index: etc/rc.d/dhclient =================================================================== --- etc/rc.d/dhclient +++ 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" Index: etc/rc.d/dmesg =================================================================== --- etc/rc.d/dmesg +++ 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" Index: etc/rc.d/dumpon =================================================================== --- etc/rc.d/dumpon +++ 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" Index: etc/rc.d/fsck =================================================================== --- etc/rc.d/fsck +++ etc/rc.d/fsck @@ -10,6 +10,7 @@ . /etc/rc.subr name="fsck" +desc="Run file system checks" start_cmd="fsck_start" stop_cmd=":" Index: etc/rc.d/ftp-proxy =================================================================== --- etc/rc.d/ftp-proxy +++ 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" Index: etc/rc.d/ftpd =================================================================== --- etc/rc.d/ftpd +++ 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" Index: etc/rc.d/gbde =================================================================== --- etc/rc.d/gbde +++ 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" Index: etc/rc.d/geli =================================================================== --- etc/rc.d/geli +++ 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" Index: etc/rc.d/geli2 =================================================================== --- etc/rc.d/geli2 +++ etc/rc.d/geli2 @@ -34,6 +34,7 @@ . /etc/rc.subr name="geli2" +name="GELI disk encryption" start_cmd="geli2_start" stop_cmd=":" Index: etc/rc.d/growfs =================================================================== --- etc/rc.d/growfs +++ 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" Index: etc/rc.d/gssd =================================================================== --- etc/rc.d/gssd +++ 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 Index: etc/rc.d/hastd =================================================================== --- etc/rc.d/hastd +++ 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}" Index: etc/rc.d/hcsecd =================================================================== --- etc/rc.d/hcsecd +++ 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" Index: etc/rc.d/hostapd =================================================================== --- etc/rc.d/hostapd +++ 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" Index: etc/rc.d/hostid =================================================================== --- etc/rc.d/hostid +++ 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" Index: etc/rc.d/hostid_save =================================================================== --- etc/rc.d/hostid_save +++ 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" Index: etc/rc.d/hostname =================================================================== --- etc/rc.d/hostname +++ 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=":" Index: etc/rc.d/inetd =================================================================== --- etc/rc.d/inetd +++ 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" Index: etc/rc.d/ip6addrctl =================================================================== --- etc/rc.d/ip6addrctl +++ 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" Index: etc/rc.d/ipfilter =================================================================== --- etc/rc.d/ipfilter +++ 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}" Index: etc/rc.d/ipfs =================================================================== --- etc/rc.d/ipfs +++ 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" Index: etc/rc.d/ipfw =================================================================== --- etc/rc.d/ipfw +++ 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" Index: etc/rc.d/ipmon =================================================================== --- etc/rc.d/ipmon +++ 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" Index: etc/rc.d/ipnat =================================================================== --- etc/rc.d/ipnat +++ 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" Index: etc/rc.d/ipsec =================================================================== --- etc/rc.d/ipsec +++ 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" Index: etc/rc.d/iscsictl =================================================================== --- etc/rc.d/iscsictl +++ 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}" Index: etc/rc.d/iscsid =================================================================== --- etc/rc.d/iscsid +++ 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}" Index: etc/rc.d/jail =================================================================== --- etc/rc.d/jail +++ etc/rc.d/jail @@ -11,6 +11,7 @@ . /etc/rc.subr name="jail" +desc="Manage system jails" rcvar="jail_enable" start_cmd="jail_start" Index: etc/rc.d/kadmind =================================================================== --- etc/rc.d/kadmind +++ 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 Index: etc/rc.d/kdc =================================================================== --- etc/rc.d/kdc +++ 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 Index: etc/rc.d/keyserv =================================================================== --- etc/rc.d/keyserv +++ 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" Index: etc/rc.d/kfd =================================================================== --- etc/rc.d/kfd +++ 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 Index: etc/rc.d/kld =================================================================== --- etc/rc.d/kld +++ etc/rc.d/kld @@ -33,6 +33,7 @@ . /etc/rc.subr name="kld" +desc="Load kernel modules" start_cmd="${name}_start" stop_cmd=':' Index: etc/rc.d/kldxref =================================================================== --- etc/rc.d/kldxref +++ 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" Index: etc/rc.d/kpasswdd =================================================================== --- etc/rc.d/kpasswdd +++ 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 Index: etc/rc.d/ldconfig =================================================================== --- etc/rc.d/ldconfig +++ 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=":" Index: etc/rc.d/local =================================================================== --- etc/rc.d/local +++ 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" Index: etc/rc.d/local_unbound =================================================================== --- etc/rc.d/local_unbound +++ 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" Index: etc/rc.d/localpkg =================================================================== --- etc/rc.d/localpkg +++ 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" Index: etc/rc.d/lockd =================================================================== --- etc/rc.d/lockd +++ 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' Index: etc/rc.d/lpd =================================================================== --- etc/rc.d/lpd +++ 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" Index: etc/rc.d/mdconfig =================================================================== --- etc/rc.d/mdconfig +++ 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}" ]' Index: etc/rc.d/mdconfig2 =================================================================== --- etc/rc.d/mdconfig2 +++ 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}" ]' Index: etc/rc.d/mixer =================================================================== --- etc/rc.d/mixer +++ 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" Index: etc/rc.d/motd =================================================================== --- etc/rc.d/motd +++ 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=":" Index: etc/rc.d/mountcritlocal =================================================================== --- etc/rc.d/mountcritlocal +++ 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 Index: etc/rc.d/mountcritremote =================================================================== --- etc/rc.d/mountcritremote +++ 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" Index: etc/rc.d/mountd =================================================================== --- etc/rc.d/mountd +++ 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" Index: etc/rc.d/mountlate =================================================================== --- etc/rc.d/mountlate +++ 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=":" Index: etc/rc.d/moused =================================================================== --- etc/rc.d/moused +++ 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" Index: etc/rc.d/msgs =================================================================== --- etc/rc.d/msgs +++ 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=":" Index: etc/rc.d/natd =================================================================== --- etc/rc.d/natd +++ 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" Index: etc/rc.d/netif =================================================================== --- etc/rc.d/netif +++ 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" Index: etc/rc.d/netoptions =================================================================== --- etc/rc.d/netoptions +++ etc/rc.d/netoptions @@ -12,6 +12,7 @@ . /etc/network.subr name="netoptions" +desc="Network options setup" start_cmd="netoptions_start" stop_cmd=: Index: etc/rc.d/netwait =================================================================== --- etc/rc.d/netwait +++ etc/rc.d/netwait @@ -21,6 +21,7 @@ . /etc/rc.subr name="netwait" +desc="Wait for network devices or the network is up" rcvar="netwait_enable" start_cmd="${name}_start" Index: etc/rc.d/newsyslog =================================================================== --- etc/rc.d/newsyslog +++ 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}" Index: etc/rc.d/nfscbd =================================================================== --- etc/rc.d/nfscbd +++ 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" Index: etc/rc.d/nfsclient =================================================================== --- etc/rc.d/nfsclient +++ 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" Index: etc/rc.d/nfsd =================================================================== --- etc/rc.d/nfsd +++ 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}" Index: etc/rc.d/nfsuserd =================================================================== --- etc/rc.d/nfsuserd +++ 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 plus support manage-gids for all NFS versions" rcvar="nfsuserd_enable" command="/usr/sbin/${name}" sig_stop="USR1" Index: etc/rc.d/nisdomain =================================================================== --- etc/rc.d/nisdomain +++ etc/rc.d/nisdomain @@ -33,6 +33,7 @@ . /etc/rc.subr name="nisdomain" +desc="Set NIS domain name" start_cmd="nisdomain_start" stop_cmd=":" Index: etc/rc.d/nscd =================================================================== --- etc/rc.d/nscd +++ 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 Index: etc/rc.d/nsswitch =================================================================== --- etc/rc.d/nsswitch +++ etc/rc.d/nsswitch @@ -33,6 +33,7 @@ . /etc/rc.subr name="nsswitch" +desc="Name-service switch" start_cmd="nsswitch_start" stop_cmd=":" Index: etc/rc.d/ntpd =================================================================== --- etc/rc.d/ntpd +++ 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" Index: etc/rc.d/ntpdate =================================================================== --- etc/rc.d/ntpdate +++ 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" Index: etc/rc.d/pf =================================================================== --- etc/rc.d/pf +++ 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" Index: etc/rc.d/pflog =================================================================== --- etc/rc.d/pflog +++ 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" Index: etc/rc.d/pfsync =================================================================== --- etc/rc.d/pfsync +++ 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" Index: etc/rc.d/power_profile =================================================================== --- etc/rc.d/power_profile +++ 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" Index: etc/rc.d/powerd =================================================================== --- etc/rc.d/powerd +++ 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 Index: etc/rc.d/ppp =================================================================== --- etc/rc.d/ppp +++ 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" Index: etc/rc.d/pppoed =================================================================== --- etc/rc.d/pppoed +++ 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 Index: etc/rc.d/pwcheck =================================================================== --- etc/rc.d/pwcheck +++ etc/rc.d/pwcheck @@ -10,6 +10,7 @@ . /etc/rc.subr name="pwcheck" +desc="Check password file correctness" start_cmd="pwcheck_start" stop_cmd=":" Index: etc/rc.d/quota =================================================================== --- etc/rc.d/quota +++ 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" Index: etc/rc.d/random =================================================================== --- etc/rc.d/random +++ 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" Index: etc/rc.d/rarpd =================================================================== --- etc/rc.d/rarpd +++ 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" Index: etc/rc.d/rctl =================================================================== --- etc/rc.d/rctl +++ 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" Index: etc/rc.d/resolv =================================================================== --- etc/rc.d/resolv +++ 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 Index: etc/rc.d/rfcomm_pppd_server =================================================================== --- etc/rc.d/rfcomm_pppd_server +++ 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" Index: etc/rc.d/root =================================================================== --- etc/rc.d/root +++ 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=":" Index: etc/rc.d/route6d =================================================================== --- etc/rc.d/route6d +++ 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 Index: etc/rc.d/routed =================================================================== --- etc/rc.d/routed +++ etc/rc.d/routed @@ -10,6 +10,7 @@ . /etc/rc.subr name="routed" +desc="Network RIP and router discovery routing daemon" rcvar="routed_enable" desc="network RIP and router discovery routing daemon" Index: etc/rc.d/routing =================================================================== --- etc/rc.d/routing +++ 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" Index: etc/rc.d/rpcbind =================================================================== --- etc/rc.d/rpcbind +++ 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}" Index: etc/rc.d/rtadvd =================================================================== --- etc/rc.d/rtadvd +++ 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" Index: etc/rc.d/rtsold =================================================================== --- etc/rc.d/rtsold +++ 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" Index: etc/rc.d/rwho =================================================================== --- etc/rc.d/rwho +++ etc/rc.d/rwho @@ -11,6 +11,7 @@ . /etc/rc.subr name="rwhod" +desc="System status server" rcvar="rwhod_enable" command="/usr/sbin/${name}" Index: etc/rc.d/savecore =================================================================== --- etc/rc.d/savecore +++ 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=":" Index: etc/rc.d/sdpd =================================================================== --- etc/rc.d/sdpd +++ 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" Index: etc/rc.d/securelevel =================================================================== --- etc/rc.d/securelevel +++ 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=":" Index: etc/rc.d/sendmail =================================================================== --- etc/rc.d/sendmail +++ 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" Index: etc/rc.d/sppp =================================================================== --- etc/rc.d/sppp +++ 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=":" Index: etc/rc.d/sshd =================================================================== --- etc/rc.d/sshd +++ 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" Index: etc/rc.d/statd =================================================================== --- etc/rc.d/statd +++ 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' Index: etc/rc.d/static_arp =================================================================== --- etc/rc.d/static_arp +++ 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" Index: etc/rc.d/stf =================================================================== --- etc/rc.d/stf +++ 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" Index: etc/rc.d/swap =================================================================== --- etc/rc.d/swap +++ etc/rc.d/swap @@ -10,6 +10,7 @@ . /etc/rc.subr name="swap" +desc="Setup swap space" start_cmd='/sbin/swapon -aq' stop_cmd=':' Index: etc/rc.d/swaplate =================================================================== --- etc/rc.d/swaplate +++ 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' Index: etc/rc.d/syscons =================================================================== --- etc/rc.d/syscons +++ 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" Index: etc/rc.d/sysctl =================================================================== --- etc/rc.d/sysctl +++ 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" Index: etc/rc.d/syslogd =================================================================== --- etc/rc.d/syslogd +++ 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}" Index: etc/rc.d/timed =================================================================== --- etc/rc.d/timed +++ etc/rc.d/timed @@ -11,6 +11,7 @@ . /etc/rc.subr name="timed" +desc="Time server daemon" rcvar="timed_enable" command="/usr/sbin/${name}" Index: etc/rc.d/tmp =================================================================== --- etc/rc.d/tmp +++ etc/rc.d/tmp @@ -33,6 +33,7 @@ . /etc/rc.subr name="tmp" +desc="Configure tmpfs" stop_cmd=':' load_rc_config $name Index: etc/rc.d/ugidfw =================================================================== --- etc/rc.d/ugidfw +++ 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" Index: etc/rc.d/utx =================================================================== --- etc/rc.d/utx +++ 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" Index: etc/rc.d/var =================================================================== --- etc/rc.d/var +++ etc/rc.d/var @@ -35,6 +35,7 @@ . /etc/rc.subr name="var" +desc="Populate /var directory" stop_cmd=':' load_rc_config $name Index: etc/rc.d/virecover =================================================================== --- etc/rc.d/virecover +++ etc/rc.d/virecover @@ -12,6 +12,7 @@ . /etc/rc.subr name="virecover" +desc="Recover crashed vi sesscions" rcvar="virecover_enable" stop_cmd=":" start_cmd="virecover_start" Index: etc/rc.d/watchdogd =================================================================== --- etc/rc.d/watchdogd +++ 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" Index: etc/rc.d/wpa_supplicant =================================================================== --- etc/rc.d/wpa_supplicant +++ 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" Index: etc/rc.d/ypbind =================================================================== --- etc/rc.d/ypbind +++ 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 Index: etc/rc.d/yppasswdd =================================================================== --- etc/rc.d/yppasswdd +++ 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 Index: etc/rc.d/ypserv =================================================================== --- etc/rc.d/ypserv +++ 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 Index: etc/rc.d/ypset =================================================================== --- etc/rc.d/ypset +++ 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 Index: etc/rc.d/ypxfrd =================================================================== --- etc/rc.d/ypxfrd +++ 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 Index: etc/rc.d/zfs =================================================================== --- etc/rc.d/zfs +++ 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" Index: etc/rc.d/zvol =================================================================== --- etc/rc.d/zvol +++ 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" Index: share/man/man8/rc.8 =================================================================== --- share/man/man8/rc.8 +++ share/man/man8/rc.8 @@ -323,6 +323,10 @@ operation), show the status of the process. Otherwise it is not necessary to support this argument. Defaults to displaying the process ID of the program (if running). +.It Cm describe +Print a short description of what the script does. +.It Cm extracommands +Print the script's non-standard commands. .It Cm poll If the script starts a process (rather than performing a one-off operation), wait for the command to exit.