Line
Link Here
|
0 |
-- files/lvm.rc-2.02.116-r6 2016-10-29 15:51:00.986911502 +0200 |
0 |
++ ./etc/init.d/lvm 2016-11-02 23:05:23.724452676 +0100 |
Lines 122-128
Link Here
|
122 |
lvm_commands="${lvm_commands}vgchange --sysinit -a ln ${VGS}\n" |
122 |
lvm_commands="${lvm_commands}vgchange --sysinit -a ln ${VGS}\n" |
123 |
# Order of this is important, have to work around dash and LVM readline |
123 |
# Order of this is important, have to work around dash and LVM readline |
124 |
printf "%b\n" "${lvm_commands}" | $lvm_path /proc/self/fd/0 --config "${config}" >/dev/null |
124 |
printf "%b\n" "${lvm_commands}" | $lvm_path /proc/self/fd/0 --config "${config}" >/dev/null |
125 |
eend $? "Failed (possibly some LVs still needed for /usr or root)" |
125 |
local pret=$? |
|
|
126 |
[ "$RC_RUNLEVEL" = shutdown ] || eend $pret "Failed (possibly some LVs still needed for /usr or root)" |
126 |
fi |
127 |
fi |
127 |
|
128 |
|
128 |
einfo "Finished shutting down the Logical Volume Manager" |
129 |
einfo "Finished shutting down the Logical Volume Manager" |