# Cyclades minor device numbers were changed to start from 0
# sometime in rev 1.3. If you're wanting to boot 1.2 and 1.3
# systems, you need something to recreate the device files with
# the correct minor device numbers. This will need to run at boot.
# Alan Wendt
# Caution: I've tested this only on one 1.3.97 system.
case `uname -r` in
while [ $device -lt 128 ]
if [ -c /dev/ttyC$device ]
rm -f /dev/ttyC$device /dev/cub$device
mknod /dev/ttyC$device c 19 $minor
mknod /dev/cub$device c 20 $minor
device=`expr $device + 1`
minor=`expr $minor + 1`