From c32f0087d58afbea1e74bd9f45b418033922e754 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Tue, 6 Jul 2004 14:08:58 +0000 Subject: link /dev/ttyN to /dev/vc/N so that chvt works BKrev: 40eab27aCfIZ_LQkdfr2MoPGgkQhMQ --- initscripts/initscripts-1.0/devices | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'initscripts') 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 -- cgit v1.2.3