diff options
author | root <root@rshg054.dnsready.net> | 2012-04-27 00:01:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-27 00:01:30 +0000 |
commit | 5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (patch) | |
tree | 9efe4d061ff3f921e97518a8bc84d504bc88e6fc /testing/nfs-utils/nfs-utils.install | |
parent | 4a6f4c864badccdbf9756bc45218273796fa6d72 (diff) |
Fri Apr 27 00:01:30 UTC 2012
Diffstat (limited to 'testing/nfs-utils/nfs-utils.install')
-rw-r--r-- | testing/nfs-utils/nfs-utils.install | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/nfs-utils/nfs-utils.install b/testing/nfs-utils/nfs-utils.install new file mode 100644 index 000000000..7dcdf9575 --- /dev/null +++ b/testing/nfs-utils/nfs-utils.install @@ -0,0 +1,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 NFS; for NFSv4, refer to + ==> http://wiki.archlinux.org/index.php/NFSv4 +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 +} |