From: Zbigniew Jędrzejewski-Szmek Date: Tue, 1 Jun 2021 06:05:03 +0000 (+0200) Subject: units: stop automount unit when shutting down X-Git-Tag: v249-rc1~83^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc16846c26287fd2081eb3c4a73487c9b186e2b7;p=thirdparty%2Fsystemd.git units: stop automount unit when shutting down This is currently our only .automount unit. We wouldn't want to trigger it accidentally during shutdown, so let's stop it too. --- diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount index a71e2499767..172c8757abb 100644 --- a/units/proc-sys-fs-binfmt_misc.automount +++ b/units/proc-sys-fs-binfmt_misc.automount @@ -13,6 +13,7 @@ Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.htm Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems DefaultDependencies=no Before=sysinit.target +Conflicts=shutdown.target ConditionPathExists=/proc/sys/fs/binfmt_misc/ ConditionPathIsReadWrite=/proc/sys/