From 98abe1fb32a429f541502f079493c3065f4a5972 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 19 Sep 2019 15:58:17 +0200 Subject: [PATCH] syntax fix --- modules/nodm.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nodm.mk b/modules/nodm.mk index a2d3662..55267ba 100644 --- a/modules/nodm.mk +++ b/modules/nodm.mk @@ -35,7 +35,7 @@ endif .PHONY: _nodm_user _nodm_cfg _nodm_cfg: ${CFGROOT} - sed -Ei 'TimeoutStopSec=2' "$${CFGROOT}/lib/systemd/system/nodm.service" + sed -Ei 's;^TimeoutStopSec=.*$$;TimeoutStopSec=2;' "$${CFGROOT}/lib/systemd/system/nodm.service" rm "$${CFGROOT}/etc/default/nodm" chroot "$${CFGROOT}" dpkg-reconfigure --default-priority -u nodm -- 2.39.2