blob: 7df478f2eff981697ea3fd262e41ccf2e8a7039d [file] [log] [blame]
developer7b43f2d2022-04-29 17:53:25 +08001[Unit]
2Description=Hostapd IEEE 802.11n AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
3After=CcspPandMSsp.service
4StartLimitIntervalSec=120
5
6[Service]
7Type=forking
8ExecStartPre=/bin/sh -c '(/lib/rdk/hostapd-init.sh)'
9PIDFile=/var/run/hostapd-global.pid
10ExecStart=/usr/sbin/hostapd -g /var/run/hostapd/global -B -P /var/run/hostapd-global.pid
11ExecStartPost=hostapd_cli -i global raw ADD bss_config=phy0:/nvram/hostapd0.conf
12ExecStartPost=hostapd_cli -i global raw ADD bss_config=phy1:/nvram/hostapd1.conf
13Restart=always
14
15[Install]
16WantedBy=multi-user.target
17