ksud: Since we have forbidden module running when Magisk installed, we

can now move common script from /data/adb/ksu/post-fs-data.d ->
/data/adb/post-fs-data.d and /data/adb/ksu/service.d ->
/data/adb/service.d
This commit is contained in:
tiann
2023-03-27 10:51:25 +08:00
parent 92ae0e5460
commit ba4ffa7598
3 changed files with 3 additions and 11 deletions

View File

@@ -270,7 +270,7 @@ pub fn exec_post_fs_data() -> Result<()> {
}
pub fn exec_common_scripts(dir: &str, wait: bool) -> Result<()> {
let script_dir = Path::new(defs::WORKING_DIR).join(dir);
let script_dir = Path::new(defs::ADB_DIR).join(dir);
if !script_dir.exists() {
info!("{} not exists, skip", script_dir.display());
return Ok(());