文件操作 - kabi.sh
返回文件管理
返回主菜单
删除本文件
文件: /lib/rpm/kabi.sh
编辑文件内容
#!/bin/bash +x # # kabi.sh - Automatically extract any kernel symbol checksum from the # symvers file and add to RPM deps. This is used to move the # checksum checking from modprobe to rpm install for 3rd party # modules (so they can fail during install and not at load). IFS=$'\n' for symvers in $(grep -E '(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.gz') "$@"; do zcat $symvers | awk ' {print "kernel(" $2 ") = " $1 }' done
修改文件时间
将文件时间修改为当前时间的前一年
删除文件