From 8ceba4bcfd07980141669eb03e13b0f646f55191 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 16 Apr 2026 09:08:39 +0200 Subject: [PATCH] fix: nas auto shutdown --- hosts/nas/modules/auto-shutdown.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nas/modules/auto-shutdown.nix b/hosts/nas/modules/auto-shutdown.nix index 5940cfd..5a9b010 100644 --- a/hosts/nas/modules/auto-shutdown.nix +++ b/hosts/nas/modules/auto-shutdown.nix @@ -39,7 +39,7 @@ let # to a non-local peer means a download is in flight. pyload_conns=$(${pkgs.iproute2}/bin/ss -H -t -n -p \ state established state syn-sent state syn-recv 2>/dev/null \ - | grep -F '"pyload"' \ + | grep -F 'pyload' \ | awk '{print $5}' \ | grep -Ev '${localPeerRegex}' || true) if [[ -n "$pyload_conns" ]]; then