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>
This commit is contained in:
David E. O'Brien 2001-09-26 06:01:40 +00:00
parent b18013f823
commit 364f9ab989

12
etc/rc
View File

@ -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.