Date: Wed, 2 Jan 2013 11:40:01 GMT From: Matthias Meyser <meyser@xenet.de> To: freebsd-wireless@FreeBSD.org Subject: Re: conf/143079: hostapd(8) startup missing multi wlan functionality Message-ID: <201301021140.r02Be1ou046247@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR conf/143079; it has been noted by GNATS.
From: Matthias Meyser <meyser@xenet.de>
To: bug-followup@FreeBSD.org, Meyser@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@xenet.de | Geschaeftsfuehrer: Matthias Meyser
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301021140.r02Be1ou046247>
