summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/account/CMakeLists.txt3
-rw-r--r--src/account/cmpiLMI_Account-cimprovagt23
2 files changed, 25 insertions, 1 deletions
diff --git a/src/account/CMakeLists.txt b/src/account/CMakeLists.txt
index 2c1d817..776ce87 100644
--- a/src/account/CMakeLists.txt
+++ b/src/account/CMakeLists.txt
@@ -2,6 +2,7 @@
set(PROVIDER_NAME Account)
set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME})
set(MOF LMI_Account.mof)
+set(ACCOUNT_SCRIPT cmpiLMI_${PROVIDER_NAME}-cimprovagt)
set(provider_SRCS
aux_lu.c
@@ -44,4 +45,4 @@ target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} ${L
cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers)
install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
-
+install(PROGRAMS ${ACCOUNT_SCRIPT} DESTINATION libexec/pegasus)
diff --git a/src/account/cmpiLMI_Account-cimprovagt b/src/account/cmpiLMI_Account-cimprovagt
new file mode 100644
index 0000000..b31d665
--- /dev/null
+++ b/src/account/cmpiLMI_Account-cimprovagt
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# Copyright (C) 2012 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 <rnovacek@redhat.com>
+#
+
+
+/usr/libexec/pegasus/cimprovagt "$@"