conf/143079: hostapd(8) startup missing multi wlan functionality
Matthias Meyser
meyser at xenet.de
Wed Jan 2 11:40:01 UTC 2013
The following reply was made to PR conf/143079; it has been noted by GNATS.
From: Matthias Meyser <meyser at xenet.de>
To: bug-followup at FreeBSD.org, Meyser at xenet.de
Cc:
Subject: Re: conf/143079: hostapd(8) startup missing multi wlan functionality
Date: Wed, 02 Jan 2013 12:14:37 +0100
Updated patch for /etc/rc.d/hostapd
--- hostapd.orig 2013-01-02 11:13:29.000000000 +0100
+++ hostapd 2013-01-02 12:04:04.000000000 +0100
@@ -13,7 +13,9 @@
rcvar="hostapd_enable"
command="/usr/sbin/${name}"
-conf_file="/etc/${name}.conf"
+load_rc_config ${name}
+
+conf_file="${hostapd_config:-/etc/${name}.conf}"
pidfile="/var/run/${name}.pid"
command_args="-P ${pidfile} -B ${conf_file}"
@@ -21,5 +23,4 @@
required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp"
extra_commands="reload"
-load_rc_config ${name}
run_rc_command "$1"
--
Matthias Meyser | XeNET Gesellschaft fuer Informations- und
Kommunikationssysteme mbH
Tel.: +49-5323-94018 | 38678 Clausthal-Zellerfeld, Burgstaetter Strasse 6
Fax: +49-5323-94014 | Registergericht: Amtsgericht Braunschweig, HRB 110823
Email: Meyser at xenet.de | Geschaeftsfuehrer: Matthias Meyser
More information about the freebsd-wireless
mailing list