1 konrad.r 1.1.2.1 #! /bin/sh
2 #%/////////////////////////////////////////////////////////////////////////////
3 #
4 # Copyright (c) 2003 BMC Software, Hewlett-Packard Company, IBM,
5 # The Open Group, Tivoli Systems
6 #
7 # Permission is hereby granted, free of charge, to any person obtaining a copy
8 # of this software and associated documentation files (the "Software"), to
9 # deal in the Software without restriction, including without limitation the
10 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11 # sell copies of the Software, and to permit persons to whom the Software is
12 # furnished to do so, subject to the following conditions:
13 #
14 # THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
15 # ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
16 # "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
17 # LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
18 # PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
20 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 konrad.r 1.1.2.1 #
23 #==============================================================================
24 #
25 # Author: Konrad Rzeszutek <konradr@us.ibm.com>
26 #
27 # Modified By:
28 #
29 #%/////////////////////////////////////////////////////////////////////////////
30 #
31 #
32 # chkconfig: 2345 26 74
33 # description: Pegasus CIMOM enables a Linux System for WBEM (visit http://www.dmtf.org for
34 # more information about CIM and WBEM). With appropriate instrumentation
35 # Linux can provide systems management information or be managed by a remote
36 # client application.
37 # processname: cimserver
38
39 # Source function library.
40 # /etc/init.d/pegasus-wbem
41 #
42 ### BEGIN INIT INFO
43 konrad.r 1.1.2.1 # Provides: pegasus
44 # Required-Start: $network
45 # X-UnitedLinux-Should-Start: network
46 # Required-Stop:
47 # Default-Start: 3 5
48 # Default-Stop:
49 # Description: init script for Pegasus CIMServer
50 ### END INIT INFO
51
52 isUnited=`grep "UnitedLinux" /etc/issue`
53 isSUSE=`grep "SuSE" /etc/issue`
54
55 if [ "$isUnited" ] || [ "$isSUSE" ]; then
56
57 . /etc/rc.status
58 rc_reset
59
60 RETVAL=$rc_done
61
62 case "$1" in
63 start)
64 konrad.r 1.1.2.1 echo -n "Starting up Pegasus CIMOM daemon "
|