summaryrefslogtreecommitdiff
path: root/initscripts/initscripts-1.0/devices
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-07-06 14:08:58 +0000
committerPhil Blundell <philb@gnu.org>2004-07-06 14:08:58 +0000
commitc32f0087d58afbea1e74bd9f45b418033922e754 (patch)
tree16145001089e927da6978ec6acf68d33bf9d074b /initscripts/initscripts-1.0/devices
parent9cbcb7eb6a5d4dd85adc55675e20bc60906727e6 (diff)
link /dev/ttyN to /dev/vc/N so that chvt works
BKrev: 40eab27aCfIZ_LQkdfr2MoPGgkQhMQ
Diffstat (limited to 'initscripts/initscripts-1.0/devices')
-rw-r--r--initscripts/initscripts-1.0/devices4
1 files changed, 4 insertions, 0 deletions
diff --git a/initscripts/initscripts-1.0/devices b/initscripts/initscripts-1.0/devices
index fc1d96788b..94ca018d8c 100644
--- a/initscripts/initscripts-1.0/devices
+++ b/initscripts/initscripts-1.0/devices
@@ -43,6 +43,10 @@ else
cd /
mkdir -p dev/msys
mkdir -p dev/pts
+ mkdir -p dev/vc
+ for i in 0 1 2 3 4 5 6 7 8 9; do
+ ln -s /dev/tty$i /dev/vc/$i
+ done
ln -sf /proc/self/fd /dev/fd
ln -sf /proc/kcore /dev/core
/sbin/makedevs -r / -D /etc/device_table