parent
9f83e14fc2
commit
d25fa7af52
3
srcpkgs/nfs-utils/files/start-statd
Normal file
3
srcpkgs/nfs-utils/files/start-statd
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# nfsmount calls this script when mounting a filesystem with locking enabled.
|
||||||
|
sv up statd
|
||||||
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'nfs-utils'
|
# Template file for 'nfs-utils'
|
||||||
pkgname=nfs-utils
|
pkgname=nfs-utils
|
||||||
version=1.3.4
|
version=1.3.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
||||||
--with-statedir=/var/lib/nfs --enable-libmount-mount --enable-gss
|
--with-statedir=/var/lib/nfs --enable-libmount-mount --enable-gss
|
||||||
@ -47,6 +47,9 @@ post_install() {
|
|||||||
# runit services
|
# runit services
|
||||||
vsv statd
|
vsv statd
|
||||||
vsv nfs-server
|
vsv nfs-server
|
||||||
|
# replacement scripts
|
||||||
|
rm -rf ${DESTDIR}/usr/bin/start-statd
|
||||||
|
vbin ${FILESDIR}/start-statd
|
||||||
|
|
||||||
rm -rf ${DESTDIR}/var/lib/nfs
|
rm -rf ${DESTDIR}/var/lib/nfs
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user