X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fscripts%2Fos-type;fp=src%2Fscripts%2Fos-type;h=b4662bb0d873255502d6e5a2a4b5cf176301b071;hp=8fe574d93da45f0eb20cd93b9275ed1034b9eac8;hb=e49c7bb4f46fa45f02cf97e56e4e3aaac01ad8a9;hpb=79378e0f6db8bdf7cde0da6bf518aa2e94906307 diff --git a/src/scripts/os-type b/src/scripts/os-type index 8fe574d93..b4662bb0d 100755 --- a/src/scripts/os-type +++ b/src/scripts/os-type @@ -1,5 +1,5 @@ #! /bin/sh -# $Cambridge: exim/src/scripts/os-type,v 1.4 2005/06/27 10:40:14 ph10 Exp $ +# $Cambridge: exim/src/scripts/os-type,v 1.5 2006/03/16 14:00:50 ph10 Exp $ # Shell script to determine the operating system type. Some of the heuristics # herein have accumulated over the years and may not strictly be needed now, @@ -83,6 +83,11 @@ linux) os=Linux;; linux-*) os=Linux;; Linux-*) os=Linux;; netbsd*) os=NetBSD;; +NetBSD*) version=`uname -r` + case "$version" in + 3.*) os=NetBSD3;; + *) os=NetBSD;; + esac;; openbsd*) os=OpenBSD;; osf1) os=OSF1;; qnx*) os=QNX;;