In message <[EMAIL PROTECTED]>,Derek Atkins writes:
>Well, my RedHat postinstall script does this automagically.  I would
>hope that more people use the OpenAFS packages as time goes on.  Indeed,
>I'm hoping that various vendors will start to ship OpenAFS.
>
>But you're also right, a quick change to rc.afs could do:
>
>if [ ! -d /afs ]; then
>  mkdir /afs
>fi

i would prefer:

if [ -f /usr/vice/etc/cacheinfo ] ; then
        $afsmntpt = `awk -F: '{print $1}' /usr/vice/etc/cacheinfo`
        if [ test -z "$afsmntpt" ] ; then
                echo cacheinfo misconfigured
                exit
        else
                if [ ! -d $afsmntpt ]; then
                  mkdir $afsmntpt
                fi
        fi
else
        echo cacheinfo missing
        exit
fi
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

Reply via email to