File: partconf-hook.sh

package info (click to toggle)
lvmcfg 1.29
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,992 kB
  • sloc: sh: 562; makefile: 5
file content (9 lines) | stat: -rwxr-xr-x 94 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
#!/bin/sh

[ -z "$1" ] && exit 0

vgdisplay -v | grep -q "$1"
[ $? -eq 0 ] && exit 1

exit 0