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:
@@ -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(());
|
||||
|
||||
Reference in New Issue
Block a user