Commit 03b4b4cc authored by houkime's avatar houkime Committed by Esteban Blanc

cleanup.sh adapted

parent 8dc80224
......@@ -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