summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh b/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
index fe6c19605f..be9f5970fa 100755
--- a/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
+++ b/meta/recipes-core/initscripts/initscripts-1.0/mountnfs.sh
@@ -67,9 +67,12 @@ if test "$rpcbind" = yes
67then 67then
68 if test -x /usr/sbin/rpcbind 68 if test -x /usr/sbin/rpcbind
69 then 69 then
70 echo -n "Starting rpcbind... " 70 service rpcbind status > /dev/null
71 start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind 71 if [ $? != 0 ]; then
72 sleep 2 72 echo -n "Starting rpcbind..."
73 start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind
74 sleep 2
75 fi
73 fi 76 fi
74fi 77fi
75 78