summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-05-04 12:50:33 +0000
committerandreas <andreas@FreeBSD.org>1997-05-04 12:50:33 +0000
commit55da57aff19365952be428aec40790312aa67096 (patch)
tree8296924d41cd6c3884dff8d2877454b6dc3a6e6a /etc/rc
parent86f710eee9cd81873a29eb7b09f19f86888aff89 (diff)
downloadFreeBSD-src-55da57aff19365952be428aec40790312aa67096.zip
FreeBSD-src-55da57aff19365952be428aec40790312aa67096.tar.gz
Fixed sourcing of /etc/etc.${arch}/rc.${arch} on startup.
PR: Reviewed by: Submitted by: Obtained from:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index 1c81cbd..d3a7f88 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.104.2.11 1997/05/01 06:01:35 jkh Exp $
+# $Id: rc,v 1.119 1997/05/03 11:22:16 jkh Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -232,9 +232,9 @@ echo '.'
# configure implementation specific stuff
arch=`uname -m`
-if [ -f /etc/rc.${arch} ]; then
- . /etc/rc.${arch}
-fi
+if [ -f /etc/etc.${arch}/rc.${arch} ]; then
+ . /etc/etc.${arch}/rc.${arch}
+fi
# Recover vi editor files.
vibackup=`echo /var/tmp/vi.recover/vi.*`
OpenPOWER on IntegriCloud