diff options
-rw-r--r-- | meta/recipes-connectivity/connman/connman/connman | 6 |
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 | |||
28 | 28 | ||
29 | do_start() { | 29 | do_start() { |
30 | EXTRA_PARAM="" | 30 | EXTRA_PARAM="" |
31 | if test $nfsroot -eq 0 ; then | 31 | if test $nfsroot -eq 1 ; then |
32 | $DAEMON $EXTRA_PARAM | 32 | ethn=`ifconfig | grep eth | sed -e "s/\(eth[0-9]\)\(.*\)/\1/"` |
33 | EXTRA_PARAM="-I $ethn" | ||
33 | fi | 34 | fi |
35 | $DAEMON $EXTRA_PARAM | ||
34 | } | 36 | } |
35 | 37 | ||
36 | do_stop() { | 38 | do_stop() { |