aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rcS.d/170-lvm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rcS.d/170-lvm.sh')
-rwxr-xr-xrc.d/rcS.d/170-lvm.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.d/rcS.d/170-lvm.sh b/rc.d/rcS.d/170-lvm.sh
new file mode 100755
index 00000000..da4bd84d
--- /dev/null
+++ b/rc.d/rcS.d/170-lvm.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+[[ $(type -t strstr) = "function" ]] || . /etc/init.d/functions
+[[ $cmdline ]] || cmdline=$(cat /proc/cmdline)
+if [ -x /sbin/lvm ]; then
+ action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --sysinit
+fi
+: