Andy Elmer wrote:
Hello,

I was wondering if there was some way of setting the substitution
variables in autofs to specific values?  (example.  OSREL=2.4 ).

From the autofs.5 man page I saw the following regarding variable
substitution:
Additional entries can be defined with the -Dvariable=Value
option to automount(8).

However, the "automount" binary which comes with Redhat 7.3 doesn't
seem to recognize the -D option.
# automount -DOSREL=2.4
/usr/sbin/automount: Ambiguous or unknown options

Am I doing something wrong, or is there another way of doing this? Thanks!

You need to specify the full automount command line; in particular the -D option is considered a map option and therefore follows the map.

-hpa


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

Reply via email to