mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 12:02:01 +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
|