reset.sh 135 B

123456
  1. #!/bin/bash
  2. ROPE="`ps -A -o pid=,command= | grep -v grep | grep rope.pl | awk '{print $1}'`"
  3. if [ -n "${ROPE}" ]; then
  4. kill $ROPE
  5. fi