mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
21 lines
339 B
Plaintext
21 lines
339 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
# Script by Jakub Jelinek
|
||
|
#
|
||
|
if test -e /dev/vcs0
|
||
|
then
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
I=0
|
||
|
while [ $I -lt 64 ]
|
||
|
do
|
||
|
mknod /dev/vcs$I c 7 $I
|
||
|
chmod 622 /dev/vcs$I
|
||
|
chown root.tty /dev/vcs$I
|
||
|
mknod /dev/vcsa$I c 7 `expr $I + 128`
|
||
|
chmod 622 /dev/vcsa$I
|
||
|
chown root.tty /dev/vcsa$I
|
||
|
I=`expr $I + 1`
|
||
|
done
|