Date: Sun, 17 Apr 2011 22:19:21 +0800 From: Adrian Chadd <adrian.chadd@gmail.com> To: Bernhard Schmidt <bschmidt@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf Message-ID: <BANLkTiku1MPd=n91c7CoiF2CuN1qOW_pAg@mail.gmail.com> In-Reply-To: <201104171605.59340.bschmidt@freebsd.org> References: <BANLkTikGsV7AMYG7GaJ5BN7yUKgugN%2BfBg@mail.gmail.com> <201104170909.44508.bschmidt@freebsd.org> <BANLkTimFRR2TE%2BH5Vop%2BTYms8mP4p4FPBg@mail.gmail.com> <201104171605.59340.bschmidt@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17 April 2011 22:05, Bernhard Schmidt <bschmidt@freebsd.org> wrote: > Way to complex for my taste :) > > How about > > hostapd_enable="YES" > hostapd_interfaces="wlan0 wlan1 .." # defaults to empty > > and then > > if [ -n $hostapd_interfaces ]; then > for interface in $interface; do > pidfile=/var/run/hostapd/$interface.pid > conffile=/etc/hostapd-$interface.conf > .. > done > else > pidfile=/var/run/hostapd.pid > conffile=/etc/hostapd.conf > fi > > That sounds fine. Shall we submit a patch to the hostapd rc.d script to implement that functionality? Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTiku1MPd=n91c7CoiF2CuN1qOW_pAg>
