summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-03-22 10:11:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-22 16:54:37 +0000
commit9299df1ebc983078e9fac4e3fa619db6dabad4d0 (patch)
tree92a7723803eece2c57ada95e2e50ab0877c33f07 /meta/recipes-connectivity/connman
parente93b6376a0cff5321dd7fc13a88c8b06ae8b83c7 (diff)
downloadpoky-9299df1ebc983078e9fac4e3fa619db6dabad4d0.tar.gz
connman-conf: Avoid appending IPv4 address
If run more than once, the IP addresses would be appended to IPv4 variable. Avoid that by rewriting the IPv4 always. (From OE-Core rev: da682e752e351e5bb7636ee187db3eabc208c177) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r--meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup
index 59ebb573ba..c46899ef32 100644
--- a/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup
+++ b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup
@@ -12,5 +12,5 @@ if [ "x$NET_CONF" = "x" ]; then
12 rm -f ${CONFIGF} 12 rm -f ${CONFIGF}
13else 13else
14 # Setup a connman config accordingly 14 # Setup a connman config accordingly
15 sed -i -e "s|^\(IPv4 =\)|\1 ${NET_CONF}|" ${CONFIGF} 15 sed -i -e "s|^IPv4 =.*|IPv4 = ${NET_CONF}|" ${CONFIGF}
16fi 16fi