aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-10-21 22:18:52 +0000
committerRichard Levitte <levitte@openssl.org>2000-10-21 22:18:52 +0000
commit48d89b560cc134ecba07f5806e212fc01b47657d (patch)
tree72a82311eddb07e99dc78f79a2bd80fa9c4115d7
parentb5a43800ef8b5f8ddd49817298a65390d7ceaa5d (diff)
downloadopenssl-48d89b560cc134ecba07f5806e212fc01b47657d.tar.gz
Krister Walfridsson <cato@df.lth.se> tells us sysctl lives in /sbin
since NetBSD 1.5.
-rwxr-xr-xconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/config b/config
index 8e71b9b9c7..a354456968 100755
--- 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:*)