Merge commit '2d93f2256ad9ed45c61505c208451f9fa00245f7' into dora
This commit is contained in:
commit
5d1e296ec5
|
@ -68,3 +68,16 @@ Index: ifupdown-0.7.52/execute.c
|
|||
out = parse(command, ifd);
|
||||
if (!out) {
|
||||
return 0;
|
||||
Index: ifupdown-0.7.52/inet.defn
|
||||
===================================================================
|
||||
--- ifupdown-0.7.52.orig/inet.defn
|
||||
+++ ifupdown-0.7.52/inet.defn
|
||||
@@ -89,7 +89,7 @@ method dhcp
|
||||
elsif (execable("/sbin/dhclient3"))
|
||||
pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \
|
||||
elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100))
|
||||
- udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \
|
||||
+ udhcpc -R -b -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \
|
||||
elsif (execable("/sbin/udhcpc") && mylinuxver() >= mylinux(2,2,0))
|
||||
dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \
|
||||
[[-l %leasetime%]] %iface% \
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "8a0647c59ee0606f5da9205c5b3c5b000fea98fe39348f6bb2cba5fecf
|
|||
|
||||
CFLAGS += "-D'IFUPDOWN_VERSION="0.7"'"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
do_configure() {
|
||||
chmod a+rx makecdep.sh makenwdep.sh
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
Description=WIFI scan service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/odu_gps.conf
|
||||
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
|
||||
RestartSec=2
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:"
|
||||
|
||||
PRINC="7"
|
||||
PRINC="8"
|
||||
|
||||
SRC_URI += "file://0001-Add-wifi2udp-program.patch \
|
||||
file://wifi2udp.service"
|
||||
|
|
Loading…
Reference in New Issue