sbull_unload

来自「LINUX 设备驱动程序(第二版) 配套原码」· 代码 · 共 18 行

TXT
18
字号
#!/bin/shmodule="sbull"device="sbull"chardevice="sbullr"# invoke rmmod with all arguments we got/sbin/rmmod $module $* || exit 1# Remove stale nodesrm -f /dev/${device}[0-3] /dev/${device}rm -f /dev/${chardevice}[0-3] /dev/${chardevice}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?