autoload.sh

来自「linux 内核源代码」· Shell 代码 · 共 18 行

SH
18
字号
#!/bin/sh# set aoe to autoload by installing the# aliases in /etc/modprobe.conff=/etc/modprobe.confif test ! -r $f || test ! -w $f; then	echo "cannot configure $f for module autoloading" 1>&2	exit 1figrep major-152 $f >/dev/nullif [ $? = 1 ]; then	echo alias block-major-152 aoe >> $f	echo alias char-major-152 aoe >> $ffi

⌨️ 快捷键说明

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