dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modification : cyclo-wiki accessible par HTTP désormais.
[lhc/ateliers.git]
/
host
/
part-lvm-umount
diff --git
a/host/part-lvm-umount
b/host/part-lvm-umount
index
3bf535b
..
dfd318d
100755
(executable)
--- a/
host/part-lvm-umount
+++ b/
host/part-lvm-umount
@@
-2,13
+2,13
@@
tool=$(readlink -e "${0%/*}/..")
. "$tool"/host/lib.sh
tool=$(readlink -e "${0%/*}/..")
. "$tool"/host/lib.sh
-case $
vm
_use_lvm in
+case $
local
_use_lvm in
(yes)
"$tool"/host/part-root-umount
"$tool"/host/part-var-umount
"$tool"/host/part-home-umount
(yes)
"$tool"/host/part-root-umount
"$tool"/host/part-var-umount
"$tool"/host/part-home-umount
- ! sudo vgs | grep -q "^ $
vm
_lvm_vg " ||
- sudo vgchange -a n $
vm
_lvm_vg
+ ! sudo vgs | grep -q "^ $
local
_lvm_vg " ||
+ sudo vgchange -a n $
local
_lvm_vg
;;
(*) exit 1;;
esac
;;
(*) exit 1;;
esac