doit.sh

来自「Solaris操作系统下的过滤驱动程序, C源码程序.」· Shell 代码 · 共 27 行

SH
27
字号
#!/bin/bash -norcset -xPATH=/sbin:.:/usr/local/fist:${PATH}export PATH#make module_install#make module_install_nocheck#make installlsmodinsmod ./wrapfs.o || exitlsmod#read n#sleep 1mount -t wrapfs -o dir=/n/fist/wrapfs /n/fist/wrapfs /mnt/wrapfs || exit#read n#sleep 1fist_ioctl -d /mnt/wrapfs ${1:-18} || exit#fist_ioctl -f /mnt/wrapfs 1 || exitif test -f fist_setkey ; then    read n    echo abrakadabra | ./fist_setkey /mnt/wrapfs    echofi

⌨️ 快捷键说明

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