#!/bin/sh
module_name="dm510_dev"
device_prefix="dm510-"

# invoke rmmod with all arguments we got
rmmod ${module_name}

# Remove stale nodes
rm /dev/${device_prefix}[0-1]





