wok-next diff nfs-utils/receipt @ rev 19532

suplemon: tiny edits.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 29 15:32:40 2016 +0200 (2016-11-29)
parents b0f93805d8bb
children c4e53a39395a
line diff
     1.1 --- a/nfs-utils/receipt	Sun Apr 06 20:48:48 2014 +0200
     1.2 +++ b/nfs-utils/receipt	Tue Nov 29 15:32:40 2016 +0200
     1.3 @@ -52,9 +52,9 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	grep ^nfs $1/etc/services ||
     1.8 -	sed -i 's|.*	2401/tcp.*|nfs	2049/tcp\nnfs	2049/udp\n&|' $1/etc/services
     1.9 -	[ -s $1/etc/exports ] || cat >  $1/etc/exports <<EOT
    1.10 +	grep ^nfs "$1/etc/services" ||
    1.11 +	sed -i 's|.*	2401/tcp.*|nfs	2049/tcp\nnfs	2049/udp\n&|' "$1/etc/services"
    1.12 +	[ -s "$1/etc/exports" ] || cat >  "$1/etc/exports" <<EOT
    1.13  #/home	192.168.0.0/255.255.255.0(rw,subtree_check)
    1.14  EOT
    1.15  }