ssuominen    14/06/04 20:46:46

  Added:                50unload_alx
  Log:
  Selectively synchronize only bug fixes with Debian patchset version 1.4.1-14.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
4868F14D)

Revision  Changes    Path
1.1                  sys-power/pm-utils/files/sleep.d/50unload_alx

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/files/sleep.d/50unload_alx?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/files/sleep.d/50unload_alx?rev=1.1&content-type=text/plain

Index: 50unload_alx
===================================================================
#!/bin/sh

# 50unload_alx: unload the alx module during suspend (LP #1173952)

[ -d /sys/module/alx ] || exit 0

. "${PM_FUNCTIONS}"

case "$1" in
        suspend)
                echo "Unloading alx kernel module ..."
                modunload alx && echo Done. || echo Failed.
                ;;
        resume)
                echo "Reloading alx kernel module ..."
                ;;
esac
exit 0




Reply via email to