mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 00:42:06 +01:00
f497052bcf
Submitted by: G. Paul Ziemba Suggested by: asomers@ MFC after: 2 weeks Sponsored by: DARPA, AFRL
15 lines
120 B
Bash
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
|