add repair parameter to SbotConfig

This commit is contained in:
glyph 2022-02-02 14:48:39 +02:00
parent 89b502be25
commit f0d972f46b
1 changed files with 3 additions and 0 deletions

View File

@ -138,6 +138,8 @@ pub struct SbotConfig {
pub promisc: bool,
/// Disable the UNIX socket RPC interface.
pub nounixsock: bool,
/// Attempt to repair the filesystem before starting.
pub repair: bool,
}
/// Default configuration values for go-sbot.
@ -157,6 +159,7 @@ impl Default for SbotConfig {
enable_ebt: false,
promisc: false,
nounixsock: false,
repair: false,
}
}
}