1
0
Fork 0
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:
Jerry Vonau 2018-12-31 00:51:29 -06:00
parent 79a829dabe
commit 218872c637

View file

@ -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]