Krister Walfridsson <cato@df.lth.se> tells us sysctl lives in /sbin
authorRichard Levitte <levitte@openssl.org>
Sat, 21 Oct 2000 22:18:52 +0000 (22:18 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 21 Oct 2000 22:18:52 +0000 (22:18 +0000)
since NetBSD 1.5.

config

diff --git a/config b/config
index 8e71b9b..a354456 100755 (executable)
--- a/config
+++ b/config
@@ -168,7 +168,7 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
         ;;
 
     NetBSD:*:*:*386*)
-        echo "`/usr/sbin/sysctl -n hw.model | sed 's,.*\(.\)86-class.*,i\186,'`-whatever-netbsd"; exit 0
+        echo "`(/usr/sbin/sysctl -n hw.model || /sbin/sysctl -n hw.model) | sed 's,.*\(.\)86-class.*,i\186,'`-whatever-netbsd"; exit 0
        ;;
 
     NetBSD:*)