summaryrefslogtreecommitdiffstats
path: root/abs/core/nfs-utils/nfs-utils.install
blob: f6c72d91511d8aabfc9a10a185ce9c4d667a552b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## arg 1:  the new package version
post_install() {
cat << 'EOM'
  ==> PLEASE NOTE:
  ==> Extended configuration options for NFS (clients & server) are available in
  ==> /etc/conf.d/nfs-common.conf and in /etc/conf.d/nfs-server.conf
  ==>
  ==> Please refer to http://wiki.archlinux.org/index.php/NFS
  ==> for further information on NFS4; for NFSv3, refer to
  ==> http://wiki.archlinux.org/index.php/NFSv3   
EOM
}

## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
  if [ "$(vercmp $2 1.2.0-2)" -lt 0 ]; then
cat << 'EOM'
  ==> IMPORTANT NFS UTILS CHANGES:
  ==> This is a rather important upgrade, you are going to have to change config files.
  ==> /etc/rc.conf daemons changes:
  ==> Change portmap to rpcbind
  ==> Change nfslock to nfs-common
  ==> Change nfsd to nfs-server
  ==>
  ==> Extended configuration options for NFS (clients & server) are available in:
  ==> /etc/conf.d/nfs-common
  ==> /etc/conf.d/nfs-server
  ==> Please change them to your needs.
EOM
  fi
}