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)
commit49f5201b52e2cdc702ba872e27a83457173db84e
tree48756df1cf5ab189f3c58e8f7a77a2fa2ae8655e
parentbf4c0b1b8ac1fb69f5bd0978e75366595e8d1fae
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36944 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/hostapd/files/hostapd.sh