freebsd-dev/etc/rc.d/devfs
Mike Makonnen 575716147b Move securelevel further back in the boot order.
Approved by:	markm (mentor)(implicit)
Reviewed by:	dougb
2003-05-05 15:38:41 +00:00

29 lines
466 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: devfs
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: FreeBSD
. /etc/rc.subr
name="devfs"
load_rc_config $name
# Setup DEVFS, ie permissions, links etc.
#
if [ -c /dev/ttyv0 -a ! -e /dev/vga ];then
ln -fs /dev/ttyv0 /dev/vga
fi
# XXX - in case the user has a customized /etc/rc.devfs we need to keep
# pulling it in until we have a better way of doing this in rc.d.
#
if [ -r /etc/rc.devfs ]; then
sh /etc/rc.devfs
fi