diff options
author | jb <jb@FreeBSD.org> | 1998-12-11 08:25:12 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-12-11 08:25:12 +0000 |
commit | 9e5ec90f2007e180852dbbb6e9ab1072cf82db55 (patch) | |
tree | b56ceafed05b728c58cf9e12d0b5da65205bff50 /etc | |
parent | 00d99f7970f028614470a918be67a2737b3737b6 (diff) | |
download | FreeBSD-src-9e5ec90f2007e180852dbbb6e9ab1072cf82db55.zip FreeBSD-src-9e5ec90f2007e180852dbbb6e9ab1072cf82db55.tar.gz |
Should be sysctl -n. Yesterday wasn't one of my better days. Doh.
Reported by: Ben Smithurst & Makoto Matsushita
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}} |