?? short_load
字號:
#!/bin/shmodule="short"device="short"group="wheel"mode="664"# invoke insmod with all arguments we got/sbin/insmod -f $module $* || exit 1major=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"`rm -f /dev/${device}[0-3]mknod /dev/${device}0 c $major 0mknod /dev/${device}1 c $major 1mknod /dev/${device}2 c $major 2mknod /dev/${device}3 c $major 3rm -f /dev/${device}[0-3][ps]mknod /dev/${device}0p c $major 16mknod /dev/${device}1p c $major 17mknod /dev/${device}2p c $major 18mknod /dev/${device}3p c $major 19mknod /dev/${device}0s c $major 32mknod /dev/${device}1s c $major 33mknod /dev/${device}2s c $major 34mknod /dev/${device}3s c $major 35rm -f /dev/${device}intmknod /dev/${device}int c $major 128chgrp $group /dev/${device}[0-3] /dev/${device}[0-3][ps] /dev/${device}intchmod $mode /dev/${device}[0-3] /dev/${device}[0-3][ps] /dev/${device}int
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -