summaryrefslogtreecommitdiff
path: root/scripts/local-top/lvm
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-06-29 21:42:45 +0200
committermaximilian attems <maks@debian.org>2006-06-29 21:42:45 +0200
commit09276c4c9f7deb9a46cf162747b5749f94738c2b (patch)
treebf29a9ebde5281f220a83af255310bf6e09cb8b0 /scripts/local-top/lvm
parent42579f456b1a87627a1416b3f80c51d9f15fb09a (diff)
downloadinitramfs-tools-09276c4c9f7deb9a46cf162747b5749f94738c2b.tar.gz
initramfs-tools-09276c4c9f7deb9a46cf162747b5749f94738c2b.zip
refix lilo root on lvm boot
Diffstat (limited to 'scripts/local-top/lvm')
-rwxr-xr-xscripts/local-top/lvm5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/local-top/lvm b/scripts/local-top/lvm
index 3b012ec..fc1036e 100755
--- a/scripts/local-top/lvm
+++ b/scripts/local-top/lvm
@@ -30,6 +30,11 @@ activate_vg()
vgchange -ay
exit 0
;;
+ # FIXME: check major
+ /dev/root)
+ vgchange -ay
+ exit 0
+ ;;
esac
# Make sure that we have a d-m path