#!/bin/sh

if [ "$1" = "0" ]  # Complete uninstall
then
   #--- stop filepath
   /opt/filepath/filepath stop >/dev/null 2>&1

   /sbin/chkconfig --del filepath >/dev/null 2>&1
   rm -f /etc/init.d/filepath
fi

exit 0
