autofs: Move autofs related configs to usr.sbin/autofs/
[dragonfly.git] / usr.sbin / autofs / autofs / include_nis
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 if [ -n "$2" ]; then
7         ypmatch $2 $1
8         exit 0
9 fi
10
11 if [ -n "$1" ]; then
12         ypcat -k $1
13         exit 0
14 fi