devfs revision 114735
1#!/bin/sh 2# 3# $FreeBSD: head/etc/rc.d/devfs 114735 2003-05-05 15:38:41Z mtm $ 4# 5 6# PROVIDE: devfs 7# REQUIRE: LOGIN 8# BEFORE: securelevel 9# KEYWORD: FreeBSD 10 11. /etc/rc.subr 12 13name="devfs" 14 15load_rc_config $name 16 17# Setup DEVFS, ie permissions, links etc. 18# 19if [ -c /dev/ttyv0 -a ! -e /dev/vga ];then 20 ln -fs /dev/ttyv0 /dev/vga 21fi 22 23# XXX - in case the user has a customized /etc/rc.devfs we need to keep 24# pulling it in until we have a better way of doing this in rc.d. 25# 26if [ -r /etc/rc.devfs ]; then 27 sh /etc/rc.devfs 28fi 29