Commit 1ac6d5a5 authored by liumg's avatar liumg
Browse files

Upload New File

parent b46b6eb2
#!/usr/bin/bash
sme_check() {
if [ ! -f "$1" ]; then
echo "file not exists" >&2
exit 1
fi
grep -i sme $1 > $OUTPUT_DIR/sme.log
if [ -s "$$OUTPUT_DIR/sme.log" ]; then
echo "非CSV场景,需要BIOS关闭SME设置"
return 1
else
echo "OS SME目前没有打开, 非CSV场景下,该状态正常"
fi
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment