freebsd-nq/etc/autofs/include_nis
Edward Tomasz Napierala f497052bcf Add /etc/autofs/include_nis, a non-rewriting NIS map.
Submitted by:	G. Paul Ziemba
Suggested by:	asomers@
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
2017-11-27 12:50:26 +00:00

15 lines
120 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
if [ -n "$2" ]; then
ypmatch $2 $1
exit 0
fi
if [ -n "$1" ]; then
ypcat -k $1
exit 0
fi