Add Pi Zero headless serial bridge with AP portal and daily RTC-based logs
This commit is contained in:
13
systemd/serial-hostapd.service
Normal file
13
systemd/serial-hostapd.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Dedicated hostapd for serial fallback AP
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/usr/sbin/rfkill unblock wlan
|
||||
ExecStart=/usr/sbin/hostapd /etc/serial-bridge/hostapd.conf
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user