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
ksud: added module mount command to check current mount system enabled
This commit is contained in:
@@ -228,6 +228,9 @@ enum Module {
|
||||
id: String,
|
||||
},
|
||||
|
||||
/// current mount system
|
||||
Mount,
|
||||
|
||||
/// list all modules
|
||||
List,
|
||||
}
|
||||
@@ -313,6 +316,7 @@ pub fn run() -> Result<()> {
|
||||
Module::Enable { id } => module::enable_module(&id),
|
||||
Module::Disable { id } => module::disable_module(&id),
|
||||
Module::Action { id } => module::run_action(&id),
|
||||
Module::Mount => module::mount_system(),
|
||||
Module::List => module::list_modules(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user