remove shortest, not longest
This commit is contained in:
parent
9c16bad562
commit
056eae009b
@ -11,9 +11,9 @@
|
|||||||
for opt; do case "$opt" in
|
for opt; do case "$opt" in
|
||||||
discard=1) lvm_discard="--config=devices{issue_discards=1}" ;;
|
discard=1) lvm_discard="--config=devices{issue_discards=1}" ;;
|
||||||
config=0) : > /etc/lvm/lvm.conf ;;
|
config=0) : > /etc/lvm/lvm.conf ;;
|
||||||
group=*) lvm_group="${opt##*=}" ;;
|
group=*) lvm_group="${opt#*=}" ;;
|
||||||
name=*) lvm_name="/${opt##*=}" ;;
|
name=*) lvm_name="/${opt#*=}" ;;
|
||||||
tag=*) lvm_tag="@${opt##*=}" ;;
|
tag=*) lvm_tag="@${opt#*=}" ;;
|
||||||
esac; done
|
esac; done
|
||||||
|
|
||||||
set -- "--sysinit" "-qq" "-aay" "$lvm_discard"
|
set -- "--sysinit" "-qq" "-aay" "$lvm_discard"
|
||||||
|
Loading…
Reference in New Issue
Block a user