aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-connectivity/connman/connman/connman6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/connman/connman/connman b/meta/recipes-connectivity/connman/connman/connman
index 4a0017fc18..aed4a792db 100644
--- a/meta/recipes-connectivity/connman/connman/connman
+++ b/meta/recipes-connectivity/connman/connman/connman
@@ -28,9 +28,11 @@ done
do_start() {
EXTRA_PARAM=""
- if test $nfsroot -eq 0 ; then
- $DAEMON $EXTRA_PARAM
+ if test $nfsroot -eq 1 ; then
+ ethn=`ifconfig | grep eth | sed -e "s/\(eth[0-9]\)\(.*\)/\1/"`
+ EXTRA_PARAM="-I $ethn"
fi
+ $DAEMON $EXTRA_PARAM
}
do_stop() {