Thorsten, On Mon, Apr 18, 2022 at 01:24:05AM +0200, Thorsten Glaser wrote: > is there an /etc/rc.local equivalent for shutdown, i.e. one that’s > run before or around the other Knn scripts? There is already a wishlist bug with patch[1]. Maybe you could test and refine it? Thanks. Mark [1] https://bugs.debian.org/959860