mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
refine hostapd.service
This commit is contained in:
parent
79a829dabe
commit
218872c637
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ Before=network.target dhcpcd.service
|
|||
[Service]
|
||||
Type=idle
|
||||
PIDFile=/run/hostapd.pid
|
||||
ExecStartPre=/sbin/iw phy phy0 interface add ap0 type __ap 2>1 > /dev/null
|
||||
ExecStartPre=/sbin/ip link set ap0 address {{ ap0_mac_addr }} 2>1 > /dev/null
|
||||
ExecStartPre=-/sbin/iw phy phy0 interface add ap0 type __ap
|
||||
ExecStartPre=-/sbin/ip link set ap0 address {{ ap0_mac_addr }}
|
||||
ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid /etc/hostapd/hostapd.conf
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue