/usr/share/OpenDRIM/opendrim-lmp-boot/registration/Boot-remove.sh is in opendrim-lmp-boot 0.1.0-0ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | #!/bin/bash
################################################################################
# Linux Management Providers (LMP), Boot provider package
# Copyright (C) 2009 Nodir Nazarov <nazarov.nodir@gmail.com>
#
# This program is being developed under the "OpenDRIM" project.
# The "OpenDRIM" project web page: http://opendrim.sourceforge.net
# The "OpenDRIM" project mailing list: opendrim@googlegroups.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2
# of the License.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#################################################################################
#################################################################################
# To contributors, please leave your contact information in this section
# AND comment your changes in the source code.
#
# Modified by 2009 Guillaume BOTTEX, ETRI <guillaumebottex@etri.re.kr>
################################################################################
if test "$2" = pegasus
then
if !( ps -C cimserver > /dev/null 2>&1 )
then
echo "ERROR: Pegasus CIM server is not running"
exit 1
fi
fi
if test "$2" = openwbem
then
if !( ps -C owcimomd > /dev/null 2>&1 )
then
echo "ERROR: OpenWBEM CIM server is not running"
exit 1
fi
fi
if test "$2" = sfcb
then
/etc/init.d/sfcb stop
fi
$4/registration/OpenDRIM_BootConcreteComponent-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_ServiceAffectsBoot-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootSettingData-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootLogicalIdentity-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootService-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootServiceCapabilities-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootConfigSettingData-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootSourceSetting-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootHostedService-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootConfigSetting-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_RegisteredBootProfile-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootConcreteDependency-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootOrderedComponent-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootCapabilities-remove.sh $1 $2 $3 $4
$4/registration/OpenDRIM_BootConformsToProfile-remove.sh $1 $2 $3 $4
if test "$2" = sfcb
then
/etc/init.d/sfcb start
fi
|