[Bug 263358] hostapd rc script defines function hostapd_poststart() before $ifn
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Apr 2022 15:36:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263358
Mark Johnston <markj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cy@FreeBSD.org,
| |markj@FreeBSD.org
Status|New |Open
--- Comment #4 from Mark Johnston <markj@FreeBSD.org> ---
It looks like rc.d/hostapd indeed supports two execution models. You can set
hostapd_enable=YES or ifconfig_wlan0="HOSTAP". Both are documented. In the
second usage, netconfig passes an interface name, in the first one it doesn't.
So it does seem like a regression, and hostapd_poststart should do nothing if [
-z "$ifn" ] is true.
--
You are receiving this mail because:
You are the assignee for the bug.