|
|
|
@ -67,11 +67,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
|
|
|
|
|
|
|
|
for line in primary_note_lines.iter() {
|
|
|
|
|
if line.starts_with("- [x] Send Summary") {
|
|
|
|
|
debug!("send summary flag caught");
|
|
|
|
|
do_email_summary = true;
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
if line.starts_with("- [x] Restart Headscale :(") {
|
|
|
|
|
debug!("restart headscale flag caught");
|
|
|
|
|
do_headscale_reset = true;
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
if line.starts_with("- [ ] Send Summary") {
|
|
|
|
|
continue;
|
|
|
|
|