1From 398fed3bb0350cb1229e54e7020ae0e044c206d1 Mon Sep 17 00:00:00 2001 2From: =?UTF-8?q?Ulrich=20=C3=96lmann?= <u.oelmann@pengutronix.de> 3Date: Wed, 17 Feb 2016 08:33:45 +0100 4Subject: bugfix: adjust statd service name 5MIME-Version: 1.0 6Content-Type: text/plain; charset=UTF-8 7Content-Transfer-Encoding: 8bit 8 9Upstream uses 'rpc-statd.service' and Yocto introduced 'nfs-statd.service' 10instead but forgot to update the mount.nfs helper 'start-statd' accordingly. 11 12Upstream-Status: Inappropriate [other] 13 14Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> 15 16Rebase it. 17 18Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 19--- 20 utils/statd/start-statd | 4 ++-- 21 1 file changed, 2 insertions(+), 2 deletions(-) 22 23diff --git a/utils/statd/start-statd b/utils/statd/start-statd 24index af5c950..df9b9be 100755 25--- a/utils/statd/start-statd 26+++ b/utils/statd/start-statd 27@@ -28,10 +28,10 @@ fi 28 # First try systemd if it's installed. 29 if [ -d /run/systemd/system ]; then 30 # Quit only if the call worked. 31- if systemctl start rpc-statd.service; then 32+ if systemctl start nfs-statd.service; then 33 # Ensure systemd knows not to stop rpc.statd or its dependencies 34 # on 'systemctl isolate ..' 35- systemctl add-wants --runtime remote-fs.target rpc-statd.service 36+ systemctl add-wants --runtime remote-fs.target nfs-statd.service 37 exit 0 38 fi 39 fi 40