14 lines
636 B
Diff
14 lines
636 B
Diff
|
Index: LVM2.2.02.98/scripts/lvm2_activation_generator_systemd_red_hat.c
|
||
|
===================================================================
|
||
|
--- LVM2.2.02.98.orig/scripts/lvm2_activation_generator_systemd_red_hat.c
|
||
|
+++ LVM2.2.02.98/scripts/lvm2_activation_generator_systemd_red_hat.c
|
||
|
@@ -125,7 +125,7 @@ static int generate_unit(const char *dir
|
||
|
fputs("Before=local-fs.target shutdown.target\n"
|
||
|
"Wants=systemd-udev-settle.service\n\n"
|
||
|
"[Service]\n"
|
||
|
- "ExecStart=/usr/sbin/lvm vgchange -aay --sysinit\n"
|
||
|
+ "ExecStart=/sbin/lvm vgchange -aay --sysinit\n"
|
||
|
"Type=oneshot\n", f);
|
||
|
|
||
|
if (fclose(f) < 0) {
|