1 kumpf 1.2 #!/bin/sh
2 #%/////////////////////////////////////////////////////////////////////////////
3 #
4 # Copyright (c) 2000, 2001, 2002 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 kumpf 1.2 #
23 #==============================================================================
24 #
25 # Author: Warren Otsuka (warren.otsuka@hp.com)
26 #
27 # Modified By:
28 #
29 #%/////////////////////////////////////////////////////////////////////////////
30
31
32 #
33 # WARNING:
34 # This script can be run in order to re-create the repository.
35 # It will REMOVE the entire contents of any existing repository
36 # first, so care should be used when running this.
37 #
38
39 #
40 # GET RID OF THE OLD REPOSITORY ...
41 # Actually, you need to do this by hand without cimserver
42 # running, and then start up cimserver again.
43 kumpf 1.2 #
44
45 ##### rm -rf /var/cache/pegasus/repository
46
47 #
48 # CREATE CLEAN REPOSITORY ...
49 #
50
51 PG_SCHEMA_VER=20
|