文件操作 - autoload.sh
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-186/Documentation/admin-guide/aoe/autoload.sh
编辑文件内容
#!/bin/sh # set aoe to autoload by installing the # aliases in /etc/modprobe.d/ f=/etc/modprobe.d/aoe.conf if test ! -r $f || test ! -w $f; then echo "cannot configure $f for module autoloading" 1>&2 exit 1 fi grep major-152 $f >/dev/null if [ $? = 1 ]; then echo alias block-major-152 aoe >> $f echo alias char-major-152 aoe >> $f fi
修改文件时间
将文件时间修改为当前时间的前一年
删除文件