From 6c9c44dc4d96cf3d2fa4261907e453795e1a36ae Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Mar 2016 15:04:37 +0200 Subject: [PATCH] malfs mekanizma guncelleme --- talimatname/genel/libthai/talimat | 2 +- talimatname/temel-ek/nfs-utils/exports | 12 ------------ .../nfs-utils/nfs-utils.service.kur-kos | 17 +++++++++++++++++ talimatname/temel-ek/nfs-utils/talimat | 1 + 4 files changed, 19 insertions(+), 13 deletions(-) delete mode 100755 talimatname/temel-ek/nfs-utils/exports diff --git a/talimatname/genel/libthai/talimat b/talimatname/genel/libthai/talimat index 5c34baa38..51397d4e9 100644 --- a/talimatname/genel/libthai/talimat +++ b/talimatname/genel/libthai/talimat @@ -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) diff --git a/talimatname/temel-ek/nfs-utils/exports b/talimatname/temel-ek/nfs-utils/exports deleted file mode 100755 index 59dfa2e7c..000000000 --- a/talimatname/temel-ek/nfs-utils/exports +++ /dev/null @@ -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. diff --git a/talimatname/temel-ek/nfs-utils/nfs-utils.service.kur-kos b/talimatname/temel-ek/nfs-utils/nfs-utils.service.kur-kos index 0f46ec4b7..213a6f72d 100644 --- a/talimatname/temel-ek/nfs-utils/nfs-utils.service.kur-kos +++ b/talimatname/temel-ek/nfs-utils/nfs-utils.service.kur-kos @@ -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 diff --git a/talimatname/temel-ek/nfs-utils/talimat b/talimatname/temel-ek/nfs-utils/talimat index e446bc025..b5b6555cb 100644 --- a/talimatname/temel-ek/nfs-utils/talimat +++ b/talimatname/temel-ek/nfs-utils/talimat @@ -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