AK3: add overlay.d warning for KernelSU users
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -3,4 +3,4 @@
|
|||||||
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
|
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# AK_BASE_VERSION=20230828
|
# AK_BASE_VERSION=20230830
|
||||||
@@ -359,6 +359,7 @@ flash_boot() {
|
|||||||
if grep -q -E '^/data/adb/ksud$' stringstmp; then
|
if grep -q -E '^/data/adb/ksud$' stringstmp; then
|
||||||
touch $home/kernelsu_patched;
|
touch $home/kernelsu_patched;
|
||||||
grep -E -m1 'Linux version.*#' stringstmp > $home/vertmp;
|
grep -E -m1 'Linux version.*#' stringstmp > $home/vertmp;
|
||||||
|
[ -d $ramdisk/overlay.d ] && ui_print " " "Warning: overlay.d detected in ramdisk but not currently supported by KernelSU!";
|
||||||
else
|
else
|
||||||
ui_print " " "Warning: No KernelSU support detected in kernel!";
|
ui_print " " "Warning: No KernelSU support detected in kernel!";
|
||||||
fi;
|
fi;
|
||||||
|
|||||||
Reference in new issue
Block a user