Author: trasz Date: Mon Nov 27 12:50:26 2017 New Revision: 326252 URL: https://svnweb.freebsd.org/changeset/base/326252
Log: 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 Added: head/etc/autofs/include_nis (contents, props changed) Modified: head/etc/autofs/Makefile Modified: head/etc/autofs/Makefile ============================================================================== --- head/etc/autofs/Makefile Mon Nov 27 12:46:18 2017 (r326251) +++ head/etc/autofs/Makefile Mon Nov 27 12:50:26 2017 (r326252) @@ -1,6 +1,7 @@ # $FreeBSD$ FILES= include_ldap \ + include_nis \ include_nis_nullfs \ special_hosts \ special_media \ Added: head/etc/autofs/include_nis ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/etc/autofs/include_nis Mon Nov 27 12:50:26 2017 (r326252) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"