summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/connman/connman/connman.patch
blob: e3ff2f9a2af3ba702019adc1733b80c9e77f9a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- ./connman.orig	2016-01-28 17:03:08.000315610 +0100
+++ ./connman	2016-01-28 17:05:24.393956927 +0100
@@ -36,13 +36,13 @@ do_start() {
 		if [ "$NET_ADDR" = dhcp ]; then
 		    ethn=`ifconfig | grep "^eth" | sed -e "s/\(eth[0-9]\)\(.*\)/\1/"`
 		    if [ ! -z "$ethn" ]; then
-			EXTRA_PARAM="-I $ethn"
+			EXTRA_PARAM="--noipconfig $ethn"
 		    fi
 		else
 		    for i in $NET_DEVS; do
 			ADDR=`ifconfig $i | sed 's/addr://g' | sed -ne 's/^.*inet \([0-9.]*\) .*$/\1/p'`
 			if [ "$NET_ADDR" = "$ADDR" ]; then
-			    EXTRA_PARAM="-I $i"
+			    EXTRA_PARAM="--noipconfig $i"
 			    break
 			fi
 		    done