-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathPenguin_Computing_Red_Hat_Configure_UEFI.sh
More file actions
executable file
·49 lines (36 loc) · 1.36 KB
/
Penguin_Computing_Red_Hat_Configure_UEFI.sh
File metadata and controls
executable file
·49 lines (36 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
# Created by John Call (jcall@redhat.com)
# Tested to work with:
# Penguin Computing Relion 2940 MH70-HD1-ZB-XX R08
# Penguin Computing Relion 2900 MD90-FS0-ZB-XX R08
# Penguin Computing Relion 1900 MD90-FS0-ZB-XX R08
# Suggest to "Load Defaults" before doing this
# Query set values SCELNX_64 /o /s BIOS.sce /sd BIOS.dups /sp /g /lang
# mv ./Penguin_Computing_Red_Hat_Configure_UEFI-SCELNX_64 ~/bin/SCELNX_64
# /home/jcall/Documents/PenguinComputing/BIOS_AMIUtil_11302016/SceLnx_5_02_1097
#SCE_UTIL=$(type -p SCELNX_64)
SCE_UTIL=/usr/local/bin/SCELNX_64
if [ -z $SCE_UTIL ]; then
echo "ERROR: Can't find SCELNX_64 in any \$PATH"
exit 1
fi
echo "CSM Support = DISABLE"
$SCE_UTIL /i /ms CSM004 /qv 0x00 && echo $?
echo "Boot option filter = UEFI only"
$SCE_UTIL /i /ms CSM005 /qv 0x02 && echo $?
echo "Network = UEFI"
$SCE_UTIL /i /ms CSM006 /qv 0x01 && echo $?
echo "Storage = UEFI"
$SCE_UTIL /i /ms CSM007 /qv 0x01 && echo $?
echo "Video = UEFI"
$SCE_UTIL /i /ms CSM008 /qv 0x01 && echo $?
echo "Other PCI devices = UEFI"
$SCE_UTIL /i /ms CSM009 /qv 0x01 && echo $?
echo "Network Stack = ENABLE"
$SCE_UTIL /i /ms NWSK000 /qv 0x01 && echo $?
echo "PXE IPv4 = Enabled"
$SCE_UTIL /i /ms NWSK001 /qv 0x01 && echo $?
echo "PXE IPv6 = Disabled"
$SCE_UTIL /i /ms NWSK002 /qv 0x00 && echo $?
echo "Quiet Boot = DISABLE"
$SCE_UTIL /i /ms SETUP005 /qv 0x00 && echo $?