#! /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,
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;;