freebsd-nq/usr.sbin/xntpd/refclocks/query

12 lines
134 B
Plaintext
Raw Normal View History

1993-12-21 18:36:48 +00:00
#!/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