(file) Return to tog-pegasus-preun.spec CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm / tog-specfiles

 1 denise.eckstein 1.1 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec
 2                     #           install   remove   upgrade  reinstall
 3                     #  preun       -        0         1         -
 4                     if [ $1 -eq 0 ]; then
 5                        # Check if the cimserver is running
 6                        isRunning=`ps -el | grep cimserver |  grep -v "grep cimserver"`
 7                        if [ "$isRunning" ]; then
 8                           %PEGASUS_SBIN_DIR/cimserver -s
 9 denise.eckstein 1.10    fi
10 s.kodali        1.11    /sbin/chkconfig --del %{Flavor}-pegasus;
11 s.kodali        1.11.2.1    rm -f %PEGASUS_CONFIG_DIR/cimserver_current.conf;
12 denise.eckstein 1.1         [ -d %PEGASUS_REPOSITORY_DIR ]  && rm -rf %PEGASUS_REPOSITORY_DIR;
13                             [ -d %PEGASUS_VARDATA_CACHE_DIR ]  && rm -rf %PEGASUS_VARDATA_CACHE_DIR;
14                             rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH;
15                             rm -f %PEGASUS_CIMSERVER_START_FILE;
16 kumpf           1.5         rm -f %PEGASUS_CIMSERVER_START_LOCK_FILE;
17 denise.eckstein 1.1      fi
18                          #
19                          # End of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2