#!/bin/sh
module="bc635"
device="bc635"
group="wheel"
mode="644"

/sbin/insmod ${module}.o $* || exit 1

rm -f /dev/${device}

major=`awk "\\$2==\"${device}\" {print \\$1}" /proc/devices`

mknod /dev/${device} c $major 0

chgrp $group /dev/${device}
chmod $mode  /dev/${device}
