diff options
Diffstat (limited to 'meta/recipes-core/netbase/netbase-4.45')
-rw-r--r-- | meta/recipes-core/netbase/netbase-4.45/nfsroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/netbase/netbase-4.45/nfsroot b/meta/recipes-core/netbase/netbase-4.45/nfsroot index fc384a8ea5..750c0a98f9 100644 --- a/meta/recipes-core/netbase/netbase-4.45/nfsroot +++ b/meta/recipes-core/netbase/netbase-4.45/nfsroot @@ -27,7 +27,7 @@ exec 0<&9 9<&- test $nfsroot -eq 0 && exit 0 -if test -x /sbin/ip ; then +if [ -x /bin/ip -o -x /sbin/ip ] ; then nfs_iface=`ip route get $nfs_addr | grep dev | sed -e 's/^.*dev \([-a-z0-9.]*\).*$/\1/'` fi |