mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-05 08:44:16 +02:00
18 lines
373 B
Bash
18 lines
373 B
Bash
#!/sbin/openrc-run
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
name="nfsdcld"
|
|
description="NFSv4 Client Tracking Daemon"
|
|
command=/usr/sbin/nfsdcld
|
|
|
|
depend() {
|
|
before nfs
|
|
need rpc.pipefs
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -d -m 0700 -o root:root /var/lib/nfs/nfsdcld
|
|
if ! grep -qs nfsd /proc/filesystems ; then
|
|
modprobe -q nfsd
|
|
fi
|
|
}
|