summaryrefslogtreecommitdiffstats
path: root/etc/rc.devfs
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-09-13 15:44:20 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-09-13 15:44:20 +0000
commitd8a93d30ec0f7b9de2d59dab07ac29c6f7f8f663 (patch)
treef61d8b7d858e07792674c281853167482e6806c5 /etc/rc.devfs
parent019fd9cb5fe17ed3ce93a28306ec3009d2a512f7 (diff)
downloadFreeBSD-src-d8a93d30ec0f7b9de2d59dab07ac29c6f7f8f663.zip
FreeBSD-src-d8a93d30ec0f7b9de2d59dab07ac29c6f7f8f663.tar.gz
Apply a consistent style to most of the etc scripts. Particularly, use
case instead of test where appropriate, since case allows case is a sh builtin and (as a side-effect) allows case-insensitivity. Changes discussed on freebsd-hackers. Submitted by: Doug Barton <Doug@gorean.org>
Diffstat (limited to 'etc/rc.devfs')
-rw-r--r--etc/rc.devfs7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/rc.devfs b/etc/rc.devfs
index 339cbdb..1e75fae 100644
--- a/etc/rc.devfs
+++ b/etc/rc.devfs
@@ -2,12 +2,13 @@
# $FreeBSD$
#
# If there is a global system configuration file, suck it in.
-if [ -f /etc/defaults/rc.conf ]; then
+#
+if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
-elif [ -f /etc/rc.conf ]; then
+elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
# Setup DEVFS, ie permisisons, links etc.
-
+#
ln -fs /dev/ttyv0 /dev/vga
OpenPOWER on IntegriCloud