aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/rc.conf1
-rwxr-xr-xetc/rc.d/Makefile2
-rw-r--r--share/man/man5/rc.conf.59
3 files changed, 10 insertions, 2 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 357e11f802f3..b81742df07fc 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -184,6 +184,7 @@ ppp_profile="papchap" # Which profile to use from /etc/ppp/ppp.conf.
ppp_user="root" # Which user to run ppp as
### Network daemon (miscellaneous) ###
+hostapd_enable="NO" # Run hostap daemon.
syslogd_enable="YES" # Run syslog daemon (or NO).
syslogd_program="/usr/sbin/syslogd" # path to syslogd, if you want a different one.
syslogd_flags="-s" # Flags to syslogd (if enabled).
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index bcfcf1965f42..4d90a5028edf 100755
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -12,7 +12,7 @@ FILES= DAEMON LOGIN NETWORKING SERVERS \
fsck ftpd \
gbde geli geli2 \
hcsecd \
- hostname \
+ hostapd hostname \
ike \
inetd initrandom \
ip6addrctl ip6fw ipfilter ipfs ipfw ipmon \
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 755575628faf..a2e00ae815f2 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 21, 2006
+.Dd February 12, 2006
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -347,6 +347,13 @@ into individual filenames.
The default is a space.
It is not necessary to change this unless there are startup scripts with names
containing spaces.
+.It Va hostapd_enable
+.Pq Vt bool
+Set to
+.Dq Li YES
+to start
+.Xr hostapd 8
+at system boot time.
.It Va hostname
.Pq Vt str
The fully qualified domain name (FQDN) of this host on the network.