source: tags/initial/SH/arb_clean

Last change on this file was 2, checked in by oldcode, 24 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 312 bytes
Line 
1#!/bin/sh
2
3if [ "X$ARB_PID" = "X" ] ; then
4        pidfiles=/tmp/arb_pids_$USER_*
5        if [ "X$pidfiles" = "X" ]; then
6                exit 0;
7        fi
8else
9        pidfiles=/tmp/arb_pids_${USER}_${ARB_PID}
10fi
11
12if  [ "\"X$pidfiles\"" != "X" ];  then
13        kill -9 `cat $pidfiles` >/dev/null 2>&1
14        rm -f $pidfiles
15fi
16
17rm -f /tmp/arb_*_${USER}_${ARB_PID}*
Note: See TracBrowser for help on using the repository browser.