aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-03-28 03:22:35 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-03-28 03:22:35 +0000
commitcb3194a59be9fd8dd4e98d4d9632af40a0315fbc (patch)
tree69ca7bae90187a3fbe784eb4b094e4398377e208 /samples
parentc8b133bf7abb149fabc197c41083e825025fd9d0 (diff)
downloadautofs3-cb3194a59be9fd8dd4e98d4d9632af40a0315fbc.tar.gz
autofs3-cb3194a59be9fd8dd4e98d4d9632af40a0315fbc.tar.xz
autofs3-cb3194a59be9fd8dd4e98d4d9632af40a0315fbc.zip
Hesiod fixes.
Diffstat (limited to 'samples')
-rw-r--r--samples/rc.autofs4
1 files changed, 3 insertions, 1 deletions
diff --git a/samples/rc.autofs b/samples/rc.autofs
index 9647b38..10bd1ad 100644
--- a/samples/rc.autofs
+++ b/samples/rc.autofs
@@ -51,8 +51,10 @@ then
options=`echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g'`
if [ -x $map ]; then
echo "automount $dir program $map $options $localoptions"
- else
+ elif [ -f $map ]; then
echo "automount $dir file $map $options $localoptions"
+ else
+ echo "automount $dir `basename $map` $options $localoptions"
fi
fi
done