Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 1998 01:59:55 -0800 (PST)
From:      Donald Burr <dburr@POBoxes.com>
To:        Marca Registrada <inf@nyef.res.cmu.edu>
Cc:        ports@FreeBSD.ORG
Subject:   RE: qmail
Message-ID:  <XFMail.980311015955.dburr@POBoxes.com>
In-Reply-To: <19980310221535.65281@nyef.res.cmu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
My secret spy satellite informs me that on 11-Mar-98, Marca Registrada
wrote:
>  qmail requires an ln -s to /usr/bin/sendmail to a version of it's own
> sendmail..  myself in teh script that starts up qmail, I'd like to put
> in
> a check to make sure the symlink is still there (not clobbered by a make
> world, say)..  is there an easy way to check for the existance of a
> symlink verses actual file?

#!/bin/sh
if [ -h /usr/bin/sendmail ]
then
        echo the link is fine, don't panic
else
        echo oh heavens!  the qmail symlink has been clobbered!
fi
---
Donald Burr <dburr@POBoxes.com> - Ask me for my PGP key | PGP: Your
WWW HomePage: http://DonaldBurr.base.org/  ICQ #1347455 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 957-9666    FAX: (800) 492-5954            | USE IT.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980311015955.dburr>