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 8e71b9b9c7a4254fd0e3d021bb07f63b23ecdb45..a354456968df4bf725088bafb12c6fe9b0497206 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:*)