Home | History | Annotate | Download | only in sem_wait
      1 
      2 rm -f /tmp/mysem >/dev/null 2>&1
      3 rm -f /tmp/sem_* >/dev/null 2>&1
      4 rm -f a.out
      5 
      6 for sem_id in `ipcs -s | awk '{print $2}'` ; do
      7     ipcrm sem $sem_id > /dev/null 2>&1
      8 done
      9 
     10