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

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

# Remove stale nodes

rm -f /var/tmp/${device}[0-3] 
