From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-power/pm-utils/files/sleep.d: 50unload_alx |
Date: | Wed, 04 Jun 2014 20:46:51 |
Message-Id: | 20140604204646.B4AB92004E@flycatcher.gentoo.org |
1 | ssuominen 14/06/04 20:46:46 |
2 | |
3 | Added: 50unload_alx |
4 | Log: |
5 | Selectively synchronize only bug fixes with Debian patchset version 1.4.1-14. |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-power/pm-utils/files/sleep.d/50unload_alx |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/files/sleep.d/50unload_alx?rev=1.1&view=markup |
13 | 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 |
14 | |
15 | Index: 50unload_alx |
16 | =================================================================== |
17 | #!/bin/sh |
18 | |
19 | # 50unload_alx: unload the alx module during suspend (LP #1173952) |
20 | |
21 | [ -d /sys/module/alx ] || exit 0 |
22 | |
23 | . "${PM_FUNCTIONS}" |
24 | |
25 | case "$1" in |
26 | suspend) |
27 | echo "Unloading alx kernel module ..." |
28 | modunload alx && echo Done. || echo Failed. |
29 | ;; |
30 | resume) |
31 | echo "Reloading alx kernel module ..." |
32 | ;; |
33 | esac |
34 | exit 0 |