#!/bin/bash

# make_devices
#
# Create Video4Linux radio devices
#
# Copyright 2002-2004 Fred Gleason <fredg@salemradiolabs.com>
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as
#   published by the Free Software Foundation; either version 2 of
#   the License, or (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public
#   License along with this program; if not, write to the Free Software
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

if [ ! -c /dev/radio0 ] ; then
  mknod /dev/radio0 c 81 64
fi
if [ ! -c /dev/radio1 ] ; then
  mknod /dev/radio1 c 81 65
fi
if [ ! -c /dev/radio2 ] ; then
  mknod /dev/radio2 c 81 66
fi
if [ ! -c /dev/radio3 ] ; then
  mknod /dev/radio3 c 81 67
fi
if [ ! -c /dev/radio4 ] ; then
  mknod /dev/radio4 c 81 68
fi
if [ ! -c /dev/radio5 ] ; then
  mknod /dev/radio5 c 81 69
fi
if [ ! -c /dev/radio6 ] ; then
  mknod /dev/radio6 c 81 70
fi
if [ ! -c /dev/radio7 ] ; then
  mknod /dev/radio7 c 81 71
fi
if [ ! -c /dev/radio8 ] ; then
  mknod /dev/radio8 c 81 72
fi
if [ ! -c /dev/radio9 ] ; then
  mknod /dev/radio9 c 81 73
fi
if [ ! -c /dev/radio10 ] ; then
  mknod /dev/radio10 c 81 74
fi
if [ ! -c /dev/radio11 ] ; then
  mknod /dev/radio11 c 81 75
fi
if [ ! -c /dev/radio12 ] ; then
  mknod /dev/radio12 c 81 76
fi
if [ ! -c /dev/radio13 ] ; then
  mknod /dev/radio13 c 81 77
fi
if [ ! -c /dev/radio14 ] ; then
  mknod /dev/radio14 c 81 78
fi
if [ ! -c /dev/radio15 ] ; then
  mknod /dev/radio15 c 81 79
fi
if [ ! -c /dev/radio16 ] ; then
  mknod /dev/radio16 c 81 80
fi
if [ ! -c /dev/radio17 ] ; then
  mknod /dev/radio17 c 81 81
fi
if [ ! -c /dev/radio18 ] ; then
  mknod /dev/radio18 c 81 82
fi
if [ ! -c /dev/radio19 ] ; then
  mknod /dev/radio19 c 81 83
fi
if [ ! -c /dev/radio20 ] ; then
  mknod /dev/radio20 c 81 84
fi
if [ ! -c /dev/radio21 ] ; then
  mknod /dev/radio21 c 81 85
fi
if [ ! -c /dev/radio22 ] ; then
  mknod /dev/radio22 c 81 86
fi
if [ ! -c /dev/radio23 ] ; then
  mknod /dev/radio23 c 81 87
fi
if [ ! -c /dev/radio24 ] ; then
  mknod /dev/radio24 c 81 88
fi
if [ ! -c /dev/radio25 ] ; then
  mknod /dev/radio25 c 81 89
fi
if [ ! -c /dev/radio26 ] ; then
  mknod /dev/radio26 c 81 90
fi
if [ ! -c /dev/radio27 ] ; then
  mknod /dev/radio27 c 81 91
fi
if [ ! -c /dev/radio28 ] ; then
  mknod /dev/radio28 c 81 92
fi
if [ ! -c /dev/radio29 ] ; then
  mknod /dev/radio29 c 81 93
fi
if [ ! -c /dev/radio30 ] ; then
  mknod /dev/radio30 c 81 94
fi
if [ ! -c /dev/radio31 ] ; then
  mknod /dev/radio31 c 81 95
fi
if [ ! -c /dev/radio32 ] ; then
  mknod /dev/radio32 c 81 96
fi
if [ ! -c /dev/radio33 ] ; then
  mknod /dev/radio33 c 81 97
fi
if [ ! -c /dev/radio34 ] ; then
  mknod /dev/radio34 c 81 98
fi
if [ ! -c /dev/radio35 ] ; then
  mknod /dev/radio35 c 81 99
fi
if [ ! -c /dev/radio36 ] ; then
  mknod /dev/radio36 c 81 100
fi
if [ ! -c /dev/radio37 ] ; then
  mknod /dev/radio37 c 81 101
fi
if [ ! -c /dev/radio38 ] ; then
  mknod /dev/radio38 c 81 102
fi
if [ ! -c /dev/radio39 ] ; then
  mknod /dev/radio39 c 81 103
fi
if [ ! -c /dev/radio40 ] ; then
  mknod /dev/radio40 c 81 104
fi
if [ ! -c /dev/radio41 ] ; then
  mknod /dev/radio41 c 81 105
fi
if [ ! -c /dev/radio42 ] ; then
  mknod /dev/radio42 c 81 106
fi
if [ ! -c /dev/radio43 ] ; then
  mknod /dev/radio43 c 81 107
fi
if [ ! -c /dev/radio44 ] ; then
  mknod /dev/radio44 c 81 108
fi
if [ ! -c /dev/radio45 ] ; then
  mknod /dev/radio45 c 81 109
fi
if [ ! -c /dev/radio46 ] ; then
  mknod /dev/radio46 c 81 110
fi
if [ ! -c /dev/radio47 ] ; then
  mknod /dev/radio47 c 81 111
fi
if [ ! -c /dev/radio48 ] ; then
  mknod /dev/radio48 c 81 112
fi
if [ ! -c /dev/radio49 ] ; then
  mknod /dev/radio49 c 81 113
fi
if [ ! -c /dev/radio50 ] ; then
  mknod /dev/radio50 c 81 114
fi
if [ ! -c /dev/radio51 ] ; then
  mknod /dev/radio51 c 81 115
fi
if [ ! -c /dev/radio52 ] ; then
  mknod /dev/radio52 c 81 116
fi
if [ ! -c /dev/radio53 ] ; then
  mknod /dev/radio53 c 81 117
fi
if [ ! -c /dev/radio54 ] ; then
  mknod /dev/radio54 c 81 118
fi
if [ ! -c /dev/radio55 ] ; then
  mknod /dev/radio55 c 81 119
fi
if [ ! -c /dev/radio56 ] ; then
  mknod /dev/radio56 c 81 120
fi
if [ ! -c /dev/radio57 ] ; then
  mknod /dev/radio57 c 81 121
fi
if [ ! -c /dev/radio58 ] ; then
  mknod /dev/radio58 c 81 122
fi
if [ ! -c /dev/radio59 ] ; then
  mknod /dev/radio59 c 81 123
fi
if [ ! -c /dev/radio60 ] ; then
  mknod /dev/radio60 c 81 124
fi
if [ ! -c /dev/radio61 ] ; then
  mknod /dev/radio61 c 81 125
fi
if [ ! -c /dev/radio62 ] ; then
  mknod /dev/radio62 c 81 126
fi
if [ ! -c /dev/radio63 ] ; then
  mknod /dev/radio63 c 81 127
fi


# End of make_devices
