ksud: support ext partition overlay

This commit is contained in:
tiann
2023-01-16 16:06:23 +08:00
parent 10000c098d
commit ebfa64cc08
2 changed files with 89 additions and 51 deletions

View File

@@ -36,6 +36,9 @@ enum Commands {
/// SELinux policy Patch tool
Sepolicy,
/// For test
Test,
}
#[derive(clap::Subcommand, Debug)]
@@ -90,6 +93,7 @@ pub fn run() -> Result<()> {
Commands::Install => event::install(),
Commands::Sepolicy => todo!(),
Commands::Services => event::on_services(),
Commands::Test => event::do_systemless_mount("/data/adb/ksu/modules"),
};
if let Err(e) = &result {