developer | 7b43f2d | 2022-04-29 17:53:25 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Hostapd IEEE 802.11n AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator |
| 3 | After=CcspPandMSsp.service |
| 4 | StartLimitIntervalSec=120 |
| 5 | |
| 6 | [Service] |
| 7 | Type=forking |
developer | 7b43f2d | 2022-04-29 17:53:25 +0800 | [diff] [blame] | 8 | PIDFile=/var/run/hostapd-global.pid |
| 9 | ExecStart=/usr/sbin/hostapd -g /var/run/hostapd/global -B -P /var/run/hostapd-global.pid |
developer | 0858735 | 2022-08-29 18:59:45 +0800 | [diff] [blame] | 10 | ExecStartPost=/bin/sh -c '(/lib/rdk/hostapd-init.sh)' |
developer | 7b43f2d | 2022-04-29 17:53:25 +0800 | [diff] [blame] | 11 | Restart=always |
developer | 7b43f2d | 2022-04-29 17:53:25 +0800 | [diff] [blame] | 12 | [Install] |
| 13 | WantedBy=multi-user.target |
| 14 | |