projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265392d
)
sys-fs/lvm2: runscript: save complete USE
author
Thomas Deutschmann
<whissi@gentoo.org>
Tue, 14 Apr 2020 17:38:40 +0000
(19:38 +0200)
committer
Thomas Deutschmann
<whissi@gentoo.org>
Tue, 14 Apr 2020 18:34:17 +0000
(20:34 +0200)
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-fs/lvm2/files/lvm.rc-2.02.187
patch
|
blob
|
history
diff --git
a/sys-fs/lvm2/files/lvm.rc-2.02.187
b/sys-fs/lvm2/files/lvm.rc-2.02.187
index 6b4e3df715fe742f99c8d99a26c8b95b9e76c29c..daafffd5b28b81a21a7854dc73cc6e37688a2ca2 100644
(file)
--- 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() {