diff options
author | dougb <dougb@FreeBSD.org> | 2002-06-19 05:35:16 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2002-06-19 05:35:16 +0000 |
commit | 4b8cabb04a0a8e2d31fa4bda6f4544c599616544 (patch) | |
tree | 87405f13718b18ba907a5a88bd6289afebfcbc5a /etc/rc.devfs | |
parent | eb084e4397ca61b13a4422ab1842e66012fdda83 (diff) | |
download | FreeBSD-src-4b8cabb04a0a8e2d31fa4bda6f4544c599616544.zip FreeBSD-src-4b8cabb04a0a8e2d31fa4bda6f4544c599616544.tar.gz |
Another good suggestion from Bruce, only create links if the
file doesn't exist already.
Diffstat (limited to 'etc/rc.devfs')
-rw-r--r-- | etc/rc.devfs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.devfs b/etc/rc.devfs index 0bd43f6..52966e9 100644 --- a/etc/rc.devfs +++ b/etc/rc.devfs @@ -41,13 +41,13 @@ cd /dev # This isn't necessarily a good example, since we probably shouldn't need this. # However, a lot of X software depends on it. # -if [ -c ttyv0 ]; then +if [ -c ttyv0 -a ! -e vga ]; then ln -fs ttyv0 vga fi # Commonly used by many ports # -#if [ -c acd0c ]; then +#if [ -c acd0c -a ! -e cdrom ]; then # ln -fs acd0c cdrom #fi |