3
#################################################################################
4
# Linux Management Providers (LMP), SSH provider package
5
# Copyright (C) 2010 Feng Zhanlei, REDFLAG <fengzhanlei@redflag-linux.com>
7
# This program is being developed under the "OpenDRIM" project.
8
# The "OpenDRIM" project web page: http://opendrim.sourceforge.net
9
# The "OpenDRIM" project mailing list: opendrim@googlegroups.com
11
# This program is free software; you can redistribute it and/or
12
# modify it under the terms of the GNU General Public License
13
# as published by the Free Software Foundation; version 2
16
# This program is distributed in the hope that it will be useful,
17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
# GNU General Public License for more details.
21
# You should have received a copy of the GNU General Public License
22
# along with this program; if not, write to the Free Software
23
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
#################################################################################
26
#################################################################################
27
# To contributors, please leave your contact information in this section
28
# AND comment your changes in the source code.
30
# Modified by Guillaume BOTTEX <guillaumebottex@uxsystem.net>, UXSystem, 2010
31
#################################################################################
33
if test "$2" = pegasus
35
if !( ps -C cimserver > /dev/null 2>&1 )
37
echo "ERROR: Pegasus CIM server is not running"
42
if test "$2" = openwbem
44
if !( ps -C owcimomd > /dev/null 2>&1 )
46
echo "ERROR: OpenWBEM CIM server is not running"
56
$4/registration/OpenDRIM_TCPProtocolEndpointBindsToIPProtocolEndpoint-remove.sh $1 $2 $3 $4
57
$4/registration/OpenDRIM_HostedSSHService-remove.sh $1 $2 $3 $4
58
$4/registration/OpenDRIM_SSHSettingData-remove.sh $1 $2 $3 $4
59
$4/registration/OpenDRIM_SSHServiceSettingData-remove.sh $1 $2 $3 $4
60
$4/registration/OpenDRIM_SSHServiceAccessBySAP-remove.sh $1 $2 $3 $4
61
$4/registration/OpenDRIM_SSHProtocolService-remove.sh $1 $2 $3 $4
62
$4/registration/OpenDRIM_SSHProtocolEndpointBindsToTCPProtocolEndpoint-remove.sh $1 $2 $3 $4
63
$4/registration/OpenDRIM_SSHConformsToProfile-remove.sh $1 $2 $3 $4
64
$4/registration/OpenDRIM_RegisteredSSHProfile-remove.sh $1 $2 $3 $4
65
$4/registration/OpenDRIM_HostedSSHAccessPoint-remove.sh $1 $2 $3 $4
66
$4/registration/OpenDRIM_SSHCapabilities-remove.sh $1 $2 $3 $4
67
$4/registration/OpenDRIM_SSHProtocolProvidesEndpoint-remove.sh $1 $2 $3 $4
68
$4/registration/OpenDRIM_SSHSessionSettingData-remove.sh $1 $2 $3 $4
69
$4/registration/OpenDRIM_TCPProtocolEndpoint-remove.sh $1 $2 $3 $4
70
$4/registration/OpenDRIM_SSHProtocolCapabilities-remove.sh $1 $2 $3 $4
71
$4/registration/OpenDRIM_SSHProtocolEndpoint-remove.sh $1 $2 $3 $4
75
/etc/init.d/sfcb start