> Perhaps this is better because /etc/init.d/portmap can be left behind
> if it isn't purged (this is also shorter):
and if you purged portmap (like i did), you have to change do_start():

--- mountnfs.dist       2011-04-17 10:46:12.000000000 +0200
+++ mountnfs    2011-04-17 10:45:59.000000000 +0200
@@ -98,7 +98,7 @@
        # and/or rpc.idmapd, and loads the right kernel modules if
        # applicable) if we use Kerberos and/or NFSv4 mounts.
        #
-       if [ "$start_nfs" = yes ] && [ -x /etc/init.d/portmap ] && [ -x 
/etc/init.d/nfs-common ]
+       if [ "$start_nfs" = yes ] && [ -x /etc/init.d/portmap -o -x 
/etc/init.d/rpcbind ] && [ -x /etc/init.d/nfs-common ]
        then

hth,
tom.


-- 
Thomas "Duke" Hager                               d...@sigsegv.at
GPG: 1024D/D27F858C            http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to