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)
commit7eae1108fe2c4e48826f9eb54cb99e4c05f28a00
tree48756df1cf5ab189f3c58e8f7a77a2fa2ae8655e
parent0d20ab037b6ee4c0a02512b59630fe7d06396dcf
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