On Wed, Jun 28, 2000 at 11:30:00AM +0200, Richard Levitte - VMS Whacker wrote:
> From: Wilfried Goesgens <[EMAIL PROTECTED]>
>
> willi> [willi@zoonenetbsd]:~/src/openssl-0.9.5a $ sysctl -n hw.model | sed
>'s,.*\(.\)86-class.*,i\186,'
> willi> bash: sysctl: command not found
> willi> maybe this should be checked earlier ?
> willi> but:
> willi> [root@zoonenetbsd]:~ # sysctl -n hw.model | sed 's,.*\(.\)86-class.*,i\186,'
> willi> i686
> willi> [root@zoonenetbsd]:~ # which sysctl
> willi> /usr/sbin/sysctl
>
> Ah, that explains it. Does the normal user have permission to use sysctl?
[willi@zoonenetbsd]:~ $ /usr/sbin/sysctl
Usage: sysctl [-n] variable ...
sysctl [-n] -w variable=value ...
sysctl [-n] -a
sysctl [-n] -A
seems so; even
[willi@zoonenetbsd]:~ $ /usr/sbin/sysctl -n hw.model
Intel Pentium III (686-class)
works in the expected way
> One thing to know is that config is basically a copy of GuessOS from
> Apache with some extras at the end to convert the result to somehting
> suitable for Configure.
in the same step I compiled an apache_1.3.12; which worked fine
(the apache was the reason to install openssl:)
> I think that those who coded that had /usr/sbin in their path.
> The problem with uname is that it says 'i386' in all cases, and
> someone might want to insert optimized code for 686...
sounds logical...
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]