File: partconf-hook.sh

package info (click to toggle)
lvmcfg 1.39
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,028 kB
  • ctags: 23
  • sloc: sh: 562; makefile: 5
file content (9 lines) | stat: -rwxr-xr-x 94 bytes parent folder | download | duplicates (9)
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