From: BRINER Cedric <work@infomaniak.ch>
To: autofs@linux.kernel.org
Subject: rc.autofs.in > getnismounts > error?
Date: Mon, 24 Nov 2003 13:13:46 +0100 [thread overview]
Message-ID: <3FC1F5FA.9090803@infomaniak.ch> (raw)
hello,
I think that I've found a small mistake in the initialization script of
autofs-4.1.0.
in the function:
function getnismounts()
{
YPMAP=`catnismap auto.master`
if [ -z "$YPMAP" ]; then
YPMAP=`catnismap`
fi
echo $YPMAP
}
The fact is that on my machine the line:
YPMAP=`catnismap auto.master`
remove the "\n" of what ""catnismap auto.master"" returns. And then the
read functions will not works and so on...
So in my case, I've simply changed the above function like this:
function getnismounts()
{
YPMAP=`catnismap auto.master`
if [ -z "$YPMAP" ]; then
catnismap
else
catnismap auto.master
fi
}
and everything works perflectly well.
Regards
Cédric BRINER
PS. thanks for your work!
--
+41(o)\ at
76/\ -o762 briner/ \infomaniak
577/ \ / \
. . . . . . . -=Cedric Briner=- . . .ch - dot
/
46b rue Jacques-Dalphin,CH-1227 Geneva \
next reply other threads:[~2003-11-24 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-24 12:13 BRINER Cedric [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-11-24 11:00 rc.autofs.in > getnismounts > error? BRINER Cedric
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FC1F5FA.9090803@infomaniak.ch \
--to=work@infomaniak.ch \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.