diff options
author | wollman <wollman@FreeBSD.org> | 1994-02-03 22:09:07 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-02-03 22:09:07 +0000 |
commit | 394ee3bae890775188c4812249fc996cb7cc0abe (patch) | |
tree | 6264e1a9edb32ef88fffee8f460175549f1b556f /usr.sbin/xntpd/scripts/Guess.sh | |
parent | 8e51e9f1429efc498f923bce8b25b20f47d7c075 (diff) | |
download | FreeBSD-src-394ee3bae890775188c4812249fc996cb7cc0abe.zip FreeBSD-src-394ee3bae890775188c4812249fc996cb7cc0abe.tar.gz |
xntpd version 3.3z from UDel
Diffstat (limited to 'usr.sbin/xntpd/scripts/Guess.sh')
-rwxr-xr-x | usr.sbin/xntpd/scripts/Guess.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/xntpd/scripts/Guess.sh b/usr.sbin/xntpd/scripts/Guess.sh index 97fd4c7..c2be569 100755 --- a/usr.sbin/xntpd/scripts/Guess.sh +++ b/usr.sbin/xntpd/scripts/Guess.sh @@ -19,7 +19,8 @@ if [ -f /bin/uname -o -f /usr/bin/uname ]; then sinix-m) guess=sinix-m ;; - sunos) case "$3" in + sunos|solaris) + case "$3" in 4.1*) guess="sunos4" ;; 5.1) guess="sunos5.1" ;; 5.*) guess="sunos5.2" ;; @@ -59,7 +60,7 @@ if [ -f /bin/uname -o -f /usr/bin/uname ]; then guess="netbsd" ;; # now the fun starts - there are vendors that - # do not really identify their OS un uname. + # do not really identify their OS in uname. # Fine - now I look at our version and hope # that nobody else had this marvellous idea. # I am not willing to mention the vendor explicitly @@ -109,6 +110,11 @@ if [ -f /netbsd ]; then exit 0 fi +if [ -f /lib/clib -a -f /lib/libc ]; then + echo domainos + exit 0 +fi + case "$guess" in '') guess="none" esac |