From: Krister Walfridsson <[EMAIL PROTECTED]>

cato> sysctl used to live in /usr/sbin, but has been moved to /sbin in the
cato> NetBSD 1.5 release. But the absolute path should not be necessary, so
cato> remove it.

Hmm?  How often does a normal user have /sbin or /usr/sbin in $PATH?
I normally don't, so that should be reason enough to specify the path.

I assume that something like this should work:

        echo "`(/usr/sbin/sysctl -n hw.model || /sbin/sysctl -n hw.model) | sed 
's,.*\(.\)86-class.*,i\186,'`-whatever-netbsd"; exit 0

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to