diff options
author | Daniel Golle <daniel@makrotopia.org> | 2014-10-19 00:35:17 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2014-10-19 01:01:14 +0200 |
commit | 1a911c1fe5d663e612b9659a85770dbd7388b24d (patch) | |
tree | 26a61e4218ac77ea8ceed003911aa89dbc336c71 /utils/lvm2/files | |
parent | bfcfcc48c3b3fa939dae4214833a6aac03534138 (diff) |
lvm2: add from old repo and update
Also add patch to fix blkid header location as suggested in #17877
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'utils/lvm2/files')
-rw-r--r-- | utils/lvm2/files/lvm2.init | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/lvm2/files/lvm2.init b/utils/lvm2/files/lvm2.init new file mode 100644 index 000000000..3b542d023 --- /dev/null +++ b/utils/lvm2/files/lvm2.init @@ -0,0 +1,12 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2009 Stefan Monnier +START=15 + +start () { + /sbin/lvm vgscan --ignorelockingfailure --mknodes || : + /sbin/lvm vgchange -aly --ignorelockingfailure || return 2 +} + +stop () { + /sbin/lvm vgchange -aln --ignorelockingfailure || return 2 +} |