summaryrefslogtreecommitdiffstats
path: root/openlmi-mof-register
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2013-05-22 15:06:39 +0200
committerJan Safranek <jsafrane@redhat.com>2013-05-22 15:06:39 +0200
commit69565f1da9d9c8ff86e5085675cd384ace5d3d3a (patch)
tree278d431278498bb57e5af1b2a6fec8023742a3d9 /openlmi-mof-register
parent6e1504b046695452f5d7f0e82789d9cfc19c1355 (diff)
downloadopenlmi-providers-69565f1da9d9c8ff86e5085675cd384ace5d3d3a.zip
openlmi-providers-69565f1da9d9c8ff86e5085675cd384ace5d3d3a.tar.gz
openlmi-providers-69565f1da9d9c8ff86e5085675cd384ace5d3d3a.tar.xz
Use group: to find out module name in Pegasus.
Diffstat (limited to 'openlmi-mof-register')
-rwxr-xr-xopenlmi-mof-register2
1 files changed, 1 insertions, 1 deletions
diff --git a/openlmi-mof-register b/openlmi-mof-register
index 3c2b6fa..37e90c1 100755
--- a/openlmi-mof-register
+++ b/openlmi-mof-register
@@ -104,7 +104,7 @@ function unregister()
mofcomp -n $namespace -r ${mofs[@]}
if [ -n "$reg" ];
then
- for provider in $(sed -n 's/ *location: *//p' "$reg" | sort | uniq);
+ for provider in $(sed -n 's/ *group: *//p' "$reg" | sort | uniq);
do
/usr/bin/cimprovider -d -m ${provider} && /usr/bin/cimprovider -r -m ${provider}
done