From: Thomas Deutschmann Date: Tue, 14 Apr 2020 17:38:40 +0000 (+0200) Subject: sys-fs/lvm2: runscript: save complete USE X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=416b070c9234d47c19d09a318643081b0761e02a;p=gentoo.git sys-fs/lvm2: runscript: save complete USE Signed-off-by: Thomas Deutschmann --- diff --git a/sys-fs/lvm2/files/lvm.rc-2.02.187 b/sys-fs/lvm2/files/lvm.rc-2.02.187 index 6b4e3df715fe..daafffd5b28b 100644 --- a/sys-fs/lvm2/files/lvm.rc-2.02.187 +++ b/sys-fs/lvm2/files/lvm.rc-2.02.187 @@ -108,10 +108,16 @@ start() { } start_post() { - # Save if we needed lvmetad + local _use= if _use_lvmetad ; then - service_set_value use lvmetad + _use="${_use} lvmetad" + fi + + if _use_lvmlockd ; then + _use="${_use} lvmlockd" fi + + service_set_value use "${_use}" } stop() {