wifi2udp: Bring the device up before starting the application
This commit is contained in:
parent
68e95f14b9
commit
f1296005b2
|
@ -2,6 +2,7 @@
|
||||||
Description=WIFI scan service
|
Description=WIFI scan service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
ExecStartPre=/sbin/ifconfig wlan0 up
|
||||||
ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 10.3.0.2
|
ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 10.3.0.2
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
|
Loading…
Reference in New Issue