wifi2udp: Honor the global default file for the destination address

This commit is contained in:
Holger Hans Peter Freyther 2015-02-14 13:44:02 +01:00
parent adbc448df6
commit 5c4968dd70
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -1,7 +1,7 @@
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:"
PRINC="7" PRINC="8"
SRC_URI += "file://0001-Add-wifi2udp-program.patch \ SRC_URI += "file://0001-Add-wifi2udp-program.patch \
file://wifi2udp.service" file://wifi2udp.service"