You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
manager: clean lkm remnants
ksud: clean clippy warnings
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user