#!/bin/sh
module="resproc"
device="resproc"

dbgtool="rsptool"

# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1
/sbin/rmmod $dbgtool $* || exit 1

# Remove stale nodes

rm -f /dev/${device}[0-1] /dev/${device}
