Should be sysctl -n. Yesterday wasn't one of my better days. Doh.

Reported by: Ben Smithurst & Makoto Matsushita
This commit is contained in:
John Birrell 1998-12-11 08:25:12 +00:00
parent e4a8d41703
commit 62bf5779e7

4
etc/rc
View file

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.160 1998/10/09 17:11:14 des Exp $
# $Id: rc,v 1.161 1998/12/10 08:06:59 jb Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -253,7 +253,7 @@ if [ -x /sbin/ldconfig ]; then
fi
# Legacy aout support for i386 only
if [ X"`sysctl hw.machine`" = X"i386" ]; then
if [ X"`sysctl -n hw.machine`" = X"i386" ]; then
# Default the a.out ldconfig path, in case the system's
# /etc/rc.conf hasn't been updated.
: ${ldconfig_paths_aout=${ldconfig_paths}}