ksud: remove link manager

This commit is contained in:
weishu
2024-02-23 18:07:14 +08:00
parent 9635a00036
commit 0c52f24612
3 changed files with 1 additions and 73 deletions

View File

@@ -186,16 +186,6 @@ enum Module {
/// Shrink module image size
Shrink,
/// Link modules for manager
LinkManager {
/// module id
mid: String,
/// Manager's pid
pid: i32,
/// Manager's package name
pkg: String,
},
}
#[derive(clap::Subcommand, Debug)]
@@ -276,9 +266,6 @@ pub fn run() -> Result<()> {
Module::Disable { id } => module::disable_module(&id),
Module::List => module::list_modules(),
Module::Shrink => module::shrink_ksu_images(),
Module::LinkManager { mid, pid, pkg } => {
module::link_module_for_manager(pid, &pkg, &mid)
}
}
}
Commands::Install => event::install(),