From: Carlos Santos Date: Mon, 16 Apr 2018 02:29:32 +0000 (-0300) Subject: nfs-utils: don't test if the binary exists in the init script X-Git-Tag: 2018.05-rc1~405 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/coffee/buildroot.git/commitdiff_plain/089e1fe414408c82a584c2ebec868e1cbc3f9c6e nfs-utils: don't test if the binary exists in the init script The test doesn't make sense. It just exits without any error if the binary doesn't exist, which is silly. Signed-off-by: Carlos Santos Signed-off-by: Thomas Petazzoni --- diff --git a/package/nfs-utils/S60nfs b/package/nfs-utils/S60nfs index 893b1e49a6..4183ff6268 100755 --- a/package/nfs-utils/S60nfs +++ b/package/nfs-utils/S60nfs @@ -3,11 +3,6 @@ # nfs This shell script takes care of starting and stopping # the NFS services. Stolen from RedHat FC5. -[ -x /usr/sbin/rpc.statd ] || exit 0 -[ -x /usr/sbin/rpc.nfsd ] || exit 0 -[ -x /usr/sbin/rpc.mountd ] || exit 0 -[ -x /usr/sbin/exportfs ] || exit 0 - mkdir -p /var/lock/subsys mkdir -p /run/nfs/sm mkdir -p /run/nfs/sm.bak