home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
mc454src.zip
/
mc-4.5.4.src
/
mc-4.5.4
/
create_vcs
< prev
next >
Wrap
Text File
|
1999-01-04
|
339b
|
21 lines
#!/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