diff options
author | Jan Safranek <jsafrane@redhat.com> | 2013-07-26 13:16:49 +0200 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2013-07-26 13:16:49 +0200 |
commit | a7aceca037e88bb6d8a2d14641742df8d9e9c627 (patch) | |
tree | 4ba392d2e93651de1909cd0f532609010ccd4455 /src | |
parent | eddd9e5d1b97be919e7cad7a62bc7316898f4a68 (diff) | |
download | openlmi-providers-a7aceca037e88bb6d8a2d14641742df8d9e9c627.tar.gz openlmi-providers-a7aceca037e88bb6d8a2d14641742df8d9e9c627.tar.xz openlmi-providers-a7aceca037e88bb6d8a2d14641742df8d9e9c627.zip |
Added cimprovagt wrapper for Fan profile.
Diffstat (limited to 'src')
-rw-r--r-- | src/fan/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/fan/cmpiLMI_Fan-cimprovagt | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/src/fan/CMakeLists.txt b/src/fan/CMakeLists.txt index 0028997..7c17f50 100644 --- a/src/fan/CMakeLists.txt +++ b/src/fan/CMakeLists.txt @@ -2,6 +2,7 @@ set(PROVIDER_NAME Fan) set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME}) set(MOF 60_LMI_Fan.mof) +set(FAN_SCRIPT cmpiLMI_${PROVIDER_NAME}-cimprovagt) set(provider_SRCS fan.c @@ -31,3 +32,4 @@ profile_mof_generate("90_LMI_Fan_Profile.mof.skel" "${TARGET_MOF}" "${CIM_CLASSE install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/) +install(PROGRAMS ${FAN_SCRIPT} DESTINATION libexec/pegasus) diff --git a/src/fan/cmpiLMI_Fan-cimprovagt b/src/fan/cmpiLMI_Fan-cimprovagt new file mode 100644 index 0000000..4079cbb --- /dev/null +++ b/src/fan/cmpiLMI_Fan-cimprovagt @@ -0,0 +1,23 @@ +#!/bin/sh +# +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# +# Authors: Roman Rakus <rrakus@redhat.com> +# + + +/usr/libexec/pegasus/cimprovagt "$@" |