summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 135a6c19ac..59ebb573ba 100644
--- a/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup
+++ b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup
@@ -9,7 +9,7 @@ NET_CONF=`cat /proc/cmdline |sed -ne 's/^.*ip=\([^ ]*\):\([^ ]*\):\([^ ]*\):\([^
9if [ "x$NET_CONF" = "x" ]; then 9if [ "x$NET_CONF" = "x" ]; then
10 # Wired interface is not configured via kernel cmdline 10 # Wired interface is not configured via kernel cmdline
11 # Remove connman config file template 11 # Remove connman config file template
12 rm ${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 =\)|\1 ${NET_CONF}|" ${CONFIGF}