fix creation of queue on dummy
This commit is contained in:
16
cleanup_queue.sh
Normal file
16
cleanup_queue.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Cleanup script to remove the IPC message queue
|
||||
|
||||
MSG_QUEUE_KEY="0x1b11193c0"
|
||||
|
||||
echo "Removing message queue with key: $MSG_QUEUE_KEY"
|
||||
ipcrm -Q $MSG_QUEUE_KEY 2>/dev/null
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Message queue removed successfully"
|
||||
else
|
||||
echo "No message queue found or already removed"
|
||||
fi
|
||||
|
||||
echo "Current message queues:"
|
||||
ipcs -q
|
||||
Reference in New Issue
Block a user