home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / y / killmous.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1995-03-23  |  165 b   |  8 lines

  1. #!/bin/sh
  2. if /bin/ps ax | /usr/bin/grep -v grep | /usr/bin/grep "gpm" ; then
  3.   GPM_RUNNING=true
  4.   /bin/killall gpm
  5.   /bin/touch /tmp/gpmkilled
  6.   /usr/bin/sleep 1
  7. fi
  8.