> But the patch doesn't appear to fix that problem.
> Can you explain?
> 
> Ian
> 

Oops, sorry about that.  I didn't send you the correct version of the
patch.  The problem is in the added lines, it says 'maptype=program' it
should say 'maptype=file'...  Here's the corrected patch...

Thanks,
Chris

s-4.1.3/samples/rc.autofs.in.filemap-etc-append       
2004-10-20 11:47:05.227372963 -0500
+++ autofs-4.1.3/samples/rc.autofs.in   2004-10-20 11:47:06.947345831
-0500
@@ -206,6 +206,9 @@
                        map=`echo /etc/$map | sed 's^//^/^g'`
                    elif [ -f "$map" ]; then
                        maptype=file
+                   elif [ -f "/etc/$map" ]; then
+                       maptype=file
+                       map=`echo /etc/$map | sed 's^//^/^g'`
                    elif [ "$map" = "hesiod" -o "$map" = "userhome" ] ;
then
                        maptype=$map
                        map=



_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to