manager: clean lkm remnants

ksud: clean clippy warnings
This commit is contained in:
rifsxd
2025-05-01 16:29:16 +06:00
parent 1336996129
commit 757d20166a
9 changed files with 169 additions and 125 deletions

View File

@@ -38,11 +38,11 @@ enum Commands {
/// Trigger `boot-complete` event
BootCompleted,
// /// Install KernelSU Next userspace component to system
// Install {
// #[arg(long, default_value = None)]
// magiskboot: Option<PathBuf>,
// }, // DISBAND LKM MODE
/// Install KernelSU Next userspace component to system
Install {
#[arg(long, default_value = None)]
magiskboot: Option<PathBuf>,
},
/// Uninstall KernelSU Next modules and itself(LKM Only)
Uninstall {
@@ -320,7 +320,7 @@ pub fn run() -> Result<()> {
Module::List => module::list_modules(),
}
}
// Commands::Install { magiskboot } => utils::install(magiskboot), // DISBAND LKM MODE
Commands::Install { magiskboot } => utils::install(magiskboot),
Commands::Uninstall { magiskboot } => utils::uninstall(magiskboot),
Commands::Sepolicy { command } => match command {
Sepolicy::Patch { sepolicy } => crate::sepolicy::live_patch(&sepolicy),