summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-09-26 06:01:40 +0000
committerobrien <obrien@FreeBSD.org>2001-09-26 06:01:40 +0000
commit2baeb917042983010cf6c1ec9923868dbf320709 (patch)
tree63689766ca5d6c2933452b680f94eb5c974fb5d9 /etc/rc
parent5d88a24f8b514d22f631be64b067e9e1f33cd8fb (diff)
downloadFreeBSD-src-2baeb917042983010cf6c1ec9923868dbf320709.zip
FreeBSD-src-2baeb917042983010cf6c1ec9923868dbf320709.tar.gz
Run rc.devfs a little bit earlier.
Many people like to use generic devices in rc.syscons, etc.. So rc.devfs needs to run before those rc files. Requested by: Jos Backus <josb@cncdsl.com>
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/rc b/etc/rc
index 11856b2..504954d 100644
--- a/etc/rc
+++ b/etc/rc
@@ -700,6 +700,12 @@ case ${update_motd} in
;;
esac
+# Run rc.devfs if readable to customize devfs
+#
+if [ -r /etc/rc.devfs ]; then
+ sh /etc/rc.devfs
+fi
+
# Configure implementation specific stuff
#
arch=`uname -m`
@@ -713,12 +719,6 @@ if [ -r /etc/rc.syscons ]; then
. /etc/rc.syscons
fi
-# Run rc.devfs if readable to customize devfs
-#
-if [ -r /etc/rc.devfs ]; then
- sh /etc/rc.devfs
-fi
-
echo -n 'Additional ABI support:'
# Load the SysV IPC API if requested.
OpenPOWER on IntegriCloud