summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-12-11 08:25:12 +0000
committerjb <jb@FreeBSD.org>1998-12-11 08:25:12 +0000
commit9e5ec90f2007e180852dbbb6e9ab1072cf82db55 (patch)
treeb56ceafed05b728c58cf9e12d0b5da65205bff50 /etc/rc
parent00d99f7970f028614470a918be67a2737b3737b6 (diff)
downloadFreeBSD-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/rc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index d74d23a..af614ea 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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}}
OpenPOWER on IntegriCloud