hostapd: correctly handle macfile uci option
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 Jun 2013 11:59:29 +0000 (11:59 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 Jun 2013 11:59:29 +0000 (11:59 +0000)
commitd6c58ab4df263261596dd91b6f401761b77e9954
tree48756df1cf5ab189f3c58e8f7a77a2fa2ae8655e
parentd749dd4b04157515752d3f1c3ed34339af7fc21a
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