version 1.52, 2005/04/29 20:33:43
|
version 1.53, 2005/05/03 05:31:58
|
|
|
isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"` | isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"` |
if [ "$isRunning" ]; then | if [ "$isRunning" ]; then |
/opt/tog-pegasus/sbin/cimserver -s | /opt/tog-pegasus/sbin/cimserver -s |
|
fi |
[ -f /var/opt/tog-pegasus/cimserver_current.conf ] && rm /var/opt/tog-pegasus/cimserver_current.conf; | [ -f /var/opt/tog-pegasus/cimserver_current.conf ] && rm /var/opt/tog-pegasus/cimserver_current.conf; |
[ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG; | [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG; |
[ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository; | [ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository; |
[ -d /var/opt/tog-pegasus/cache ] && rm -rf /var/opt/tog-pegasus/cache; | [ -d /var/opt/tog-pegasus/cache ] && rm -rf /var/opt/tog-pegasus/cache; |
rm -f /var/run/tog-pegasus/socket/cimxml.socket; | rm -f /var/run/tog-pegasus/socket/cimxml.socket; |
rm -f /var/run/tog-pegasus/cimserver.pid | rm -f /var/run/tog-pegasus/cimserver.pid |
fi |
|
# Delete the Link to the rc.* Startup Directories | # Delete the Link to the rc.* Startup Directories |
/usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; | /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; |
fi | fi |