1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

use hostapd's service file to create ap0

This commit is contained in:
Jerry Vonau 2018-09-13 17:14:44 +00:00
parent 6ba20a63e9
commit c56b9e6510
2 changed files with 1 additions and 8 deletions

View file

@ -6,6 +6,7 @@ Before=network.target dhcpcd.service
[Service]
Type=idle
PIDFile=/run/hostapd.pid
ExecStartPre=/sbin/iw phy phy0 interface add ap0 type __ap
ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid /etc/hostapd/hostapd.conf
[Install]