From f478ceb17c6a8b00bb998ca382bc873dc1117420 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sat, 14 Feb 2026 09:06:24 -0500 Subject: [PATCH] minor fixes --- conflink | 2 +- mailtest-check | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/conflink b/conflink index d6f8ab8..1a302b3 100755 --- a/conflink +++ b/conflink @@ -209,7 +209,7 @@ case $user in find-maybe -type d \! -name wireguard \! -path '*/moddata/*' \! -name moddata -exec chmod go+rX '{}' + find_paths=(/p/c/filesystem/etc/ssh /p/c/machine_specific/*/filesystem/etc/ssh) - find-maybe -type f -name '*.pub' -exec chmod go+rX '{}' + + find-maybe -type f \! -name '*key' -exec chmod go+rX '{}' + find_paths=(/p/c/machine_specific/*/filesystem/etc/apt) find-maybe -type f -exec chmod go+rX '{}' + diff --git a/mailtest-check b/mailtest-check index 14f7e8b..c08062b 100755 --- a/mailtest-check +++ b/mailtest-check @@ -487,7 +487,11 @@ loop-main() { sleep 10 while true; do premain_sec=$EPOCHSECONDS - maybe-toggle-ssh + # Disabled as the config change seems to be unreliable. I see ssh + # start, then listen on only 1 port even though 2 are listed in the + # config, I can't figure out why, then it starts working randomly. + + #maybe-toggle-ssh main maini=$((maini + 1)) sleep $(( 300 - ( EPOCHSECONDS - premain_sec ) )) -- 2.30.2