home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / opt0.4.lcm / bin / hcfpcistop < prev    next >
Encoding:
Text File  |  2004-02-26  |  597 b   |  20 lines

  1. #!/bin/sh
  2. #
  3. # Copyright (c) 2003 Linuxant inc.
  4. # Copyright (c) 2001-2003 Conexant Systems, Inc.
  5. #
  6. # NOTE: The use and distribution of this software is governed by the terms in
  7. # the file LICENSE, which is included in the package. You must read this and
  8. # agree to these terms before using or distributing this software.
  9. # This script tries to unload all hcf modules present in the system
  10. #
  11. PATH=/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin
  12. export PATH
  13.  
  14. for mod in hcfpciserial hcfpciengine hcfpciosspec; do
  15.     if lsmod | grep -q "^${mod} "; then
  16.         rmmod ${mod} || exit 1
  17.     fi
  18. done
  19.