view clear_ipc @ 2:422f3cb3614b

Enabled voice playing with "%04d/%04d%05d.ogg" format. Don't use a cache for this
author thib
date Fri, 01 Aug 2008 19:17:15 +0000
parents 223b71206888
children
line wrap: on
line source

#!/bin/sh
# IPC のmessage queue/shared memory が残ってしまっている
# 時に、それを全部消去するためのスクリプト

killall -KILL test xlovesys xclannad
ipcs | grep '^q' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -q $_";'
ipcs | grep '^m' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -m $_";'
ipcs | grep '^s' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -s $_";'