hostapd: correctly handle macfile uci option
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 17 Jun 2013 11:59:29 +0000 (11:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 17 Jun 2013 11:59:29 +0000 (11:59 +0000)
commit541fbfbb9e7fac2700359c76509d4844ea8607ff
treea1d34b68bd51b7455c662c327650ede43630b6e8
parentdfea3bae11dd5c207182371ce1fdca763fb5bbe0
hostapd: correctly handle macfile uci option

Make hostapd.sh correctly handle the macfile uci option.

Such option specifies the macfile name to pass into the
hostapd configuration file. Moreover, if a maclist option
has been specified, copy the macfile before appending new
entries.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
SVN-Revision: 36944
package/network/services/hostapd/files/hostapd.sh