diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-11-27 12:50:26 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-11-27 12:50:26 +0000 |
commit | f497052bcf990b7ec3f31f2c49bb171651dfb95a (patch) | |
tree | 8bf61756507d0c7417ca9e6483714f10c961e781 /etc | |
parent | 61cfb3db4cf12bb3756006024550911174e869c9 (diff) | |
download | src-test2-f497052bcf990b7ec3f31f2c49bb171651dfb95a.tar.gz src-test2-f497052bcf990b7ec3f31f2c49bb171651dfb95a.zip |
Notes
Diffstat (limited to 'etc')
-rw-r--r-- | etc/autofs/Makefile | 1 | ||||
-rw-r--r-- | etc/autofs/include_nis | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/etc/autofs/Makefile b/etc/autofs/Makefile index 2f75c6207dc7..822e523c9f15 100644 --- a/etc/autofs/Makefile +++ b/etc/autofs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ FILES= include_ldap \ + include_nis \ include_nis_nullfs \ special_hosts \ special_media \ diff --git a/etc/autofs/include_nis b/etc/autofs/include_nis new file mode 100644 index 000000000000..5289984639a1 --- /dev/null +++ b/etc/autofs/include_nis @@ -0,0 +1,14 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +if [ -n "$2" ]; then + ypmatch $2 $1 + exit 0 +fi + +if [ -n "$1" ]; then + ypcat -k $1 + exit 0 +fi |