#!/bin/sh
#
# $Header: /cvs/pgsql-deb/postgresql/src/bin/ipcclean/ipcclean.sh,v 1.1.1.1 2000/11/13 05:27:14 elphick Exp $
#
PATH=:$PATH
export PATH
ipcs | egrep '^m .*|^s .*' | egrep "`whoami`|postgres" | \
awk '{printf "ipcrm -%s %s\n", $1, $2}' '-' | sh
