Hello Felix, it works, thank you! Though I could have sworn I tried this last night...
@all Does anyone know how I would receive the store path from the generated smartd-send-ntfy script so I can pass it to smartd-config-file? I did mess around a bit more and I think I am closer to the solution by now: (define smartd-send-ntfy "send-ntfy" "#!/bin/sh\ncurl ...")) (define smartd-config-file (plain-file "smartd.conf" (string-append "... -M exec " smartd-send-ntfy))) On 20 May 2024 13:30:52 CEST, Felix Lechner <felix.lech...@lease-up.com> wrote: >Hi Tristan, > >On Mon, May 20 2024, Tristan Kohl via wrote: > >> (list "/run/current-system/profile/sbin/smartd" "--no-fork" "-c" >> smartd-config-file))) >> warning "possibly unbound variable smartd-config-file". > >Please quoteg the variable smartd-config-file as #$smartd-config-file >inside the G-expression. Did it work? > >Kind regards >Felix