From 4b8cabb04a0a8e2d31fa4bda6f4544c599616544 Mon Sep 17 00:00:00 2001 From: dougb Date: Wed, 19 Jun 2002 05:35:16 +0000 Subject: Another good suggestion from Bruce, only create links if the file doesn't exist already. --- etc/rc.devfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') 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 -- cgit v1.1