Date: Mon, 16 Apr 2018 15:59:51 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r332588 - stable/11/etc/autofs Message-ID: <201804161559.w3GFxpRB083209@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Mon Apr 16 15:59:51 2018 New Revision: 332588 URL: https://svnweb.freebsd.org/changeset/base/332588 Log: MFC r326252: Add /etc/autofs/include_nis, a non-rewriting NIS map. Added: stable/11/etc/autofs/include_nis - copied unchanged from r326252, head/etc/autofs/include_nis Modified: stable/11/etc/autofs/Makefile Directory Properties: stable/11/ (props changed) Modified: stable/11/etc/autofs/Makefile ============================================================================== --- stable/11/etc/autofs/Makefile Mon Apr 16 15:58:53 2018 (r332587) +++ stable/11/etc/autofs/Makefile Mon Apr 16 15:59:51 2018 (r332588) @@ -1,6 +1,7 @@ # $FreeBSD$ FILES= include_ldap \ + include_nis \ include_nis_nullfs \ special_hosts \ special_media \ Copied: stable/11/etc/autofs/include_nis (from r326252, head/etc/autofs/include_nis) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/11/etc/autofs/include_nis Mon Apr 16 15:59:51 2018 (r332588, copy of r326252, head/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804161559.w3GFxpRB083209>