malfs mekanizma guncelleme
This commit is contained in:
parent
17c32174fb
commit
6c9c44dc4d
|
@ -4,7 +4,7 @@
|
|||
# Depends on: libdatrie
|
||||
|
||||
name=libthai
|
||||
version=0.1.21
|
||||
version=0.1.24
|
||||
release=1
|
||||
|
||||
source=(https://mirrors.kernel.org/debian/pool/main/libt/${name}/${name}_${version}.orig.tar.xz)
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
# /etc/exports - exports(5) - directories exported to NFS clients
|
||||
#
|
||||
# Example for NFSv2 and NFSv3:
|
||||
# /srv/home hostname1(rw,sync) hostname2(ro,sync)
|
||||
# Example for NFSv4:
|
||||
# /srv/nfs4 hostname1(rw,sync,fsid=0)
|
||||
# /srv/nfs4/home hostname1(rw,sync,nohide)
|
||||
# Using Kerberos and integrity checking:
|
||||
# /srv/nfs4 *(rw,sync,sec=krb5i,fsid=0)
|
||||
# /srv/nfs4/home *(rw,sync,sec=krb5i,nohide)
|
||||
#
|
||||
# Use `exportfs -arv` to reload.
|
|
@ -6,3 +6,20 @@ QUOTAS="no"
|
|||
KILLDELAY="10"
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ ! -f /etc/exports ]; then
|
||||
cat > /etc/exports << "EOF"
|
||||
# /etc/exports - exports(5) - directories exported to NFS clients
|
||||
#
|
||||
# Example for NFSv2 and NFSv3:
|
||||
# /srv/home hostname1(rw,sync) hostname2(ro,sync)
|
||||
# Example for NFSv4:
|
||||
# /srv/nfs4 hostname1(rw,sync,fsid=0)
|
||||
# /srv/nfs4/home hostname1(rw,sync,nohide)
|
||||
# Using Kerberos and integrity checking:
|
||||
# /srv/nfs4 *(rw,sync,sec=krb5i,fsid=0)
|
||||
# /srv/nfs4/home *(rw,sync,sec=krb5i,nohide)
|
||||
#
|
||||
# Use `exportfs -arv` to reload.
|
||||
EOF
|
||||
fi
|
||||
|
|
|
@ -30,6 +30,7 @@ cd $name-$version
|
|||
make
|
||||
mkdir $PKG/sbin
|
||||
make DESTDIR=$PKG install
|
||||
mkdir $PKG/etc
|
||||
install -m 644 $SRC/exports $PKG/etc/
|
||||
# Services
|
||||
cd ../$scripts-$scriptsversion
|
||||
|
|
Loading…
Reference in New Issue