hostapd: run as user 'network' if procd-ujail is installed
authorDaniel Golle <daniel@makrotopia.org>
Sun, 10 Jan 2021 19:12:05 +0000 (19:12 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 14 Jan 2021 00:52:50 +0000 (00:52 +0000)
commit1f785383875ab0abdeda0c71907c2c95ef76cca6
tree48b07a54349390cfaa91e48ed860b3e2b9061e31
parentd9d698843469ee24de01fbb498bd8690d69b8b61
hostapd: run as user 'network' if procd-ujail is installed

Granting capabilities CAP_NET_ADMIN and CAP_NET_RAW allows running
hostapd and wpa_supplicant without root priviledges.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/services/hostapd/Makefile
package/network/services/hostapd/files/wpad.init
package/network/services/hostapd/files/wpad.json [new file with mode: 0644]
package/network/services/hostapd/files/wpad_acl.json [new file with mode: 0644]