#!/bin/sh

device="imb"


module="imb"

# invoke rmmod with all arguments we got
if grep $module /proc/devices; then
        /sbin/rmmod $module $*
fi

# remove stale nodes
rm -f /dev/$device

