meta-sysmocom-bsp/recipes-fixes/wireless-tools/files/wifi2udp.service

10 lines
213 B
SYSTEMD

[Unit]
Description=WIFI scan service
[Service]
EnvironmentFile=/etc/default/odu_gps.conf
ExecStartPre=/sbin/ifconfig wlan0 up
ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 ${UDP_SINK}
Restart=always
RestartSec=2