summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/connman/connman/connman.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/connman/connman/connman.patch')
-rw-r--r--recipes-connectivity/connman/connman/connman.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-connectivity/connman/connman/connman.patch b/recipes-connectivity/connman/connman/connman.patch
new file mode 100644
index 0000000..e3ff2f9
--- /dev/null
+++ b/recipes-connectivity/connman/connman/connman.patch
@@ -0,0 +1,18 @@
1--- ./connman.orig 2016-01-28 17:03:08.000315610 +0100
2+++ ./connman 2016-01-28 17:05:24.393956927 +0100
3@@ -36,13 +36,13 @@ do_start() {
4 if [ "$NET_ADDR" = dhcp ]; then
5 ethn=`ifconfig | grep "^eth" | sed -e "s/\(eth[0-9]\)\(.*\)/\1/"`
6 if [ ! -z "$ethn" ]; then
7- EXTRA_PARAM="-I $ethn"
8+ EXTRA_PARAM="--noipconfig $ethn"
9 fi
10 else
11 for i in $NET_DEVS; do
12 ADDR=`ifconfig $i | sed 's/addr://g' | sed -ne 's/^.*inet \([0-9.]*\) .*$/\1/p'`
13 if [ "$NET_ADDR" = "$ADDR" ]; then
14- EXTRA_PARAM="-I $i"
15+ EXTRA_PARAM="--noipconfig $i"
16 break
17 fi
18 done