mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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 <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
047341e6eb
commit
089e1fe414
@ -3,11 +3,6 @@
|
|||||||
# nfs This shell script takes care of starting and stopping
|
# nfs This shell script takes care of starting and stopping
|
||||||
# the NFS services. Stolen from RedHat FC5.
|
# 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 /var/lock/subsys
|
||||||
mkdir -p /run/nfs/sm
|
mkdir -p /run/nfs/sm
|
||||||
mkdir -p /run/nfs/sm.bak
|
mkdir -p /run/nfs/sm.bak
|
||||||
|
Loading…
x
Reference in New Issue
Block a user