2014-09-08 16:37:17 +00:00
|
|
|
[Unit]
|
|
|
|
Description=WIFI scan service
|
|
|
|
|
|
|
|
[Service]
|
2015-02-14 12:44:02 +00:00
|
|
|
EnvironmentFile=/etc/default/odu_gps.conf
|
2014-09-08 18:00:55 +00:00
|
|
|
ExecStartPre=/sbin/ifconfig wlan0 up
|
2015-02-14 12:44:02 +00:00
|
|
|
ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 ${UDP_SINK}
|
2014-09-08 16:37:17 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=2
|