mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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:
@@ -137,7 +137,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
start-stop-daemon --start --oknodo --quiet \
|
start-stop-daemon --start --oknodo --quiet \
|
||||||
--pidfile /run/rpc.statd.pid \
|
--pidfile /run/rpc.statd.pid \
|
||||||
--exec /sbin/rpc.statd
|
--exec /usr/sbin/rpc.statd
|
||||||
RET=$?
|
RET=$?
|
||||||
if [ $RET != 0 ]; then
|
if [ $RET != 0 ]; then
|
||||||
echo " failed" $RET
|
echo " failed" $RET
|
||||||
|
|||||||
Reference in New Issue
Block a user