From 9299df1ebc983078e9fac4e3fa619db6dabad4d0 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 22 Mar 2013 10:11:42 +0200 Subject: 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 --- meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-connectivity') 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 rm -f ${CONFIGF} else # Setup a connman config accordingly - sed -i -e "s|^\(IPv4 =\)|\1 ${NET_CONF}|" ${CONFIGF} + sed -i -e "s|^IPv4 =.*|IPv4 = ${NET_CONF}|" ${CONFIGF} fi -- cgit v1.2.3-54-g00ecf