examples/rt/msr_unload
changeset 220 342ad851ec78
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/rt/msr_unload	Wed May 10 07:41:38 2006 +0000
@@ -0,0 +1,9 @@
+#!/bin/sh
+module="msr_rt"
+device="msr"
+
+# invoke rmmod with all arguments we got
+/sbin/rmmod $module $* || exit 1
+
+# Remove stale nodes
+rm -f /dev/${device} /dev/${device}0