This patch maintains the same behavior as in previous versions of
rc.autofs.in. In the past you could have the following in your
auto.master file and it would test to see if there was a local
/etc/auto.misc file, and if there was it would use it.
/misc auto.misc
Now, it doesn't check. I've attached a patch that fixes this behavior
(I think debian does the same thing with their autofs patches as well).
Thanks,
Chris
--- autofs-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=program
+ 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