diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2019-06-17 20:11:02 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2019-06-17 20:11:02 +0000 |
| commit | 2b951e9c6d922fde996335afb3e2337c54641436 (patch) | |
| tree | c29b8e6b9417c350058411941149ef1da49741a5 /libexec/rc | |
| parent | b8358917db761c51b74b1c2f8a35b2319757c7d2 (diff) | |
Notes
Diffstat (limited to 'libexec/rc')
| -rw-r--r-- | libexec/rc/rc.conf | 1 | ||||
| -rwxr-xr-x | libexec/rc/rc.d/hostapd | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf index 0709845259e3a..79bc1f3436e58 100644 --- a/libexec/rc/rc.conf +++ b/libexec/rc/rc.conf @@ -275,6 +275,7 @@ ppp_user="root" # Which user to run ppp as # profile3 uses default ppp_mode and ppp_nat ### Network daemon (miscellaneous) ### +hostapd_program="/usr/sbin/hostapd" 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. diff --git a/libexec/rc/rc.d/hostapd b/libexec/rc/rc.d/hostapd index d0c2d88f2ff46..707316036604f 100755 --- a/libexec/rc/rc.d/hostapd +++ b/libexec/rc/rc.d/hostapd @@ -11,7 +11,7 @@ name="hostapd" desc="Authenticator for IEEE 802.11 networks" -command="/usr/sbin/${name}" +command=${hostapd_program} ifn="$2" if [ -z "$ifn" ]; then |
