On Fri, 13 Mar 1998, fjt-mgc wrote:
> autofs reads the yp auto.master map fine. The problem is that when it launches
> a copy of automount with one of the entries in the yp auto.master map, nothing
> happens. From reading autofs I find that what should happen is something like:
>
> echo "/usr/sbin/automount /home yp auto.home" | sh
>
> Even if I do this from the command line, nothing happens. So, I tried the
> following:
>
> ypcat -k auto.home > /etc/auto.home
> echo "/usr/sbin/automount /home file /etc/auto.home" | sh
I do something like this...
/etc/sysconfig/amd:
MOUNTPTS=`/usr/bin/ypcat -k amd.master`
/etc/rc.d/init.d/amd.init:
/usr/sbin/amd -a $ADIR -l syslog $AMDOPTS -c 1000 $MOUNTPTS
Does that help at all?
--Mike Petullo
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.