mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-19 19:14:04 +08:00
10 lines
173 B
Bash
Executable File
10 lines
173 B
Bash
Executable File
#!/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
|