Commit 0bc19cd6 authored by houkime's avatar houkime

cleanup.sh adapted

parent cdb1abdf
......@@ -50,7 +50,11 @@ eval `ipcs -q|grep ^0x|grep "[ \t]$USER[ \t]"|awk '{printf "ipcrm msg %s;", $2}'
# remove shared memory
eval `ipcs -m|grep ^0x|grep "[ \t]$USER[ \t]"|awk '{printf "ipcrm shm %s;", $2}'`
if [ $TMPDIR ]; then
rm $TMPDIR/pwr*$PWR_BUS_ID
tmpdir='/tmp/'
if [ $TMPDIR ];
then
tmpdir=$TMPDIR
fi
rm /tmp/pwr*$PWR_BUS_ID
rm $tmpdir/pwr*$PWR_BUS_ID
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment