1#!/bin/sh
2#
3# Remove the DCE RPC endpoint map.
4#
5# ** ONLY ** do this when rebooting the system, or bringing the
6# machine down otherwise your DCE RPC applications may become
7# stranded.
8#
9# jrd@bu.edu 08-30-1998
10#
11#
12
13
14# Source function library.
15. /etc/rc.d/init.d/functions
16
17case "$1" in
18  start)
19	$0 stop
20	;;
21  stop)
22        echo "Removing DCE RPC endpoint map"
23	if [ -f /opt/dcelocal/var/rpc/rpcdep.dat ]; then
24	   rm -f /opt/dcelocal/var/rpc/rpcdep.dat
25	fi
26	;;
27   *)
28        echo "Usage: $0 {start|stop}"
29        exit 1
30esac
31exit 0
32