Decouple sysctl runtime validation and modprobe dependencies

This commit is contained in:
2026-05-28 12:12:42 +05:00
parent 10b2d0aefb
commit 4f384bcff0
4 changed files with 100 additions and 23 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ fn main() -> anyhow::Result<()> {
}
Command::ApplyNetworkTuning => {
let cfg = Config::load(&config_path)?;
cfg.validate_all()?;
cfg.validate_sysctl_tuning_runtime()?;
sysctl_tuning::ensure_sysctl_tuning(&cfg)?;
println!("network tuning reconciled");
}