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:
parent
6ba20a63e9
commit
c56b9e6510
2 changed files with 1 additions and 8 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue