Should have paid more attention to the PR. Update (improve?) the examples

by doing them in /dev/, and provide more than just the one example.

Submitted by:	bde (for the ideas, blame for mistakes is mine)
This commit is contained in:
Doug Barton 2002-06-18 07:33:56 +00:00
parent 02010b74b4
commit a1aa5c8053
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98384

View file

@ -36,6 +36,23 @@ fi
# Setup DEVFS, ie permissions, links etc.
#
if [ -c /dev/ttyv0 ]; then
ln -fs /dev/ttyv0 /dev/vga
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
ln -fs ttyv0 vga
fi
# Commonly used by many ports
#
#if [ -c acd0c ]; then
# ln -fs acd0c cdrom
#fi
# Allow users to query the smb device
#
#if [ -c smb0 ]; then
# chmod 660 smb0
#fi