From a7aceca037e88bb6d8a2d14641742df8d9e9c627 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Fri, 26 Jul 2013 13:16:49 +0200 Subject: Added cimprovagt wrapper for Fan profile. --- src/fan/CMakeLists.txt | 2 ++ src/fan/cmpiLMI_Fan-cimprovagt | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/fan/cmpiLMI_Fan-cimprovagt (limited to 'src') 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 +# + + +/usr/libexec/pegasus/cimprovagt "$@" -- cgit