freebsd-dev/usr.sbin/xntpd/refclocks/query
1993-12-21 18:36:48 +00:00

12 lines
134 B
Bash
Executable File

#!/bin/sh
echon "$1 (y/n) [$2] ? "
X=""
read X
if [ "$X" = "" ]; then
X="$2"
fi
case "$X" in
[yY]*) exit 0;;
*) exit 1;;
esac