X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/e49c7bb4f46fa45f02cf97e56e4e3aaac01ad8a9..db6e328e4a7a6a7a1ee171b58d1370078d6be0a3:/src/scripts/os-type diff --git a/src/scripts/os-type b/src/scripts/os-type index b4662bb0d..1fcd37bc3 100755 --- a/src/scripts/os-type +++ b/src/scripts/os-type @@ -1,5 +1,7 @@ #! /bin/sh -# $Cambridge: exim/src/scripts/os-type,v 1.5 2006/03/16 14:00:50 ph10 Exp $ + +# Copyright (c) The Exim Maintainters 2022 +# SPDX-License-Identifier: GPL-2.0-or-later # 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,11 +85,7 @@ 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;; +NetBSD*) os=NetBSD;; openbsd*) os=OpenBSD;; osf1) os=OSF1;; qnx*) os=QNX;;