add repair parameter to SbotConfig
This commit is contained in:
parent
89b502be25
commit
f0d972f46b
|
@ -138,6 +138,8 @@ pub struct SbotConfig {
|
||||||
pub promisc: bool,
|
pub promisc: bool,
|
||||||
/// Disable the UNIX socket RPC interface.
|
/// Disable the UNIX socket RPC interface.
|
||||||
pub nounixsock: bool,
|
pub nounixsock: bool,
|
||||||
|
/// Attempt to repair the filesystem before starting.
|
||||||
|
pub repair: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Default configuration values for go-sbot.
|
/// Default configuration values for go-sbot.
|
||||||
|
@ -157,6 +159,7 @@ impl Default for SbotConfig {
|
||||||
enable_ebt: false,
|
enable_ebt: false,
|
||||||
promisc: false,
|
promisc: false,
|
||||||
nounixsock: false,
|
nounixsock: false,
|
||||||
|
repair: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue