nfs-utils: fix rpc.statd path in initscript

The location of rpc.statd is /usr/sbin instead of /sbin.

(From OE-Core rev: 19494e414429b74d2a15b32f21b1b3067d3a41b2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yi Zhao
2025-02-25 15:03:41 +08:00
committed by Richard Purdie
parent 77c10c60a4
commit d02a5a7e4e

View File

@@ -137,7 +137,7 @@ case "$1" in
fi
start-stop-daemon --start --oknodo --quiet \
--pidfile /run/rpc.statd.pid \
--exec /sbin/rpc.statd
--exec /usr/sbin/rpc.statd
RET=$?
if [ $RET != 0 ]; then
echo " failed" $RET