1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

connman: Don't start connmand when booting using nfsroot

There was a change to connman, such that it cleans up the
route table for devices at startup, this was causing the
network to get lost and NFS to loose it connection.

[YOCTO #3008]

(From OE-Core rev: d27692e9421206177fd572a79298f5988607ce21)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold
2012-08-30 16:34:22 -07:00
committed by Richard Purdie
parent 60e503a4e5
commit c6fda196cb
2 changed files with 3 additions and 4 deletions
@@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \
${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
"
INC_PR = "r15"
INC_PR = "r16"
TIST = "--enable-tist"
TIST_powerpc = ""
@@ -28,10 +28,9 @@ done
do_start() {
EXTRA_PARAM=""
if test $nfsroot -eq 1 ; then
EXTRA_PARAM="-P ethernet"
if test $nfsroot -eq 0 ; then
$DAEMON $EXTRA_PARAM
fi
$DAEMON $EXTRA_PARAM
}
do_stop() {