freebsd-dev/contrib/ntp/scripts/deprecated/hpadjtime.sh
Cy Schubert 2b15cb3d09 MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)
Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:	roberto
2015-03-30 13:30:15 +00:00

19 lines
302 B
Bash
Executable File

#! /bin/sh
val=1
if [ -f /bin/uname -o -f /usr/bin/uname ]; then
set `uname -a | tr '[A-Z]' '[a-z]'`
case "$1" in
hp-ux) case "$3" in
*.10.*) val=1 ;;
*.09.03 | *.09.10) case "$5" in
9000/3*) val=1 ;;
*) val=0 ;;
esac ;;
*) val=0 ;;
esac
;;
*)
esac
fi
exit $val