summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/lvm1
-rwxr-xr-xhooks/md1
2 files changed, 2 insertions, 0 deletions
diff --git a/hooks/lvm b/hooks/lvm
index fa4f8af..7410b26 100755
--- a/hooks/lvm
+++ b/hooks/lvm
@@ -14,6 +14,7 @@ prereqs)
;;
esac
+# FIXME: check /sys/block/dm-0/dev
if [ ! -x /sbin/vgchange ]; then
exit 0
fi
diff --git a/hooks/md b/hooks/md
index c06b46b..be8a55a 100755
--- a/hooks/md
+++ b/hooks/md
@@ -14,6 +14,7 @@ prereqs)
;;
esac
+# FIXME: check /proc/mdstat
if [ ! -x /sbin/mdadm ]; then
exit 0
fi