AK3: add overlay.d warning for KernelSU users

This commit is contained in:
osm0sis committed 2023-08-30 19:59:16 -03:00
1 parent 051f79300f
commit df90d744fd
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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
+1
View File
@@ -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;