|
@@ -36,7 +36,7 @@ function checkDep() {
|
36
|
36
|
|
37
|
37
|
#--@F active module from UEFI
|
38
|
38
|
function regMod() {
|
39
|
|
-if [[ ! -f $path_script/MOK.der ]]; then
|
|
39
|
+if [[ -f $path_script/MOK.der ]]; then
|
40
|
40
|
if mokutil --import $path_script/MOK.der; then
|
41
|
41
|
eval mod_ls="(" $(find /lib/modules/$(uname -r) -type f -name "$opt".ko -printf '%f\n') ")";
|
42
|
42
|
if [[ "$(echo -e ${#mod_ls[@]})" != "0" ]]; then
|