diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2008-01-16 14:08:49 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2008-01-16 14:08:49 +0000 |
commit | a2545abb038db58e661f28328cff70d901d4be59 (patch) | |
tree | 9b58a93416096a29814346373964a30bbf542d7c /packages/apmd/apmd-3.2.2 | |
parent | bea87314a68ffd51b4dce97ce4c1b9277445e264 (diff) | |
parent | b13686f579217a17eaebeef868d02c02775221a8 (diff) |
merge of '9d6e060052df45c5be50896005c5b965f0d64900'
and 'c794a426d2a55b0c4b5f1f6fee90c8272bd266e9'
Diffstat (limited to 'packages/apmd/apmd-3.2.2')
-rw-r--r-- | packages/apmd/apmd-3.2.2/90-wifi-off | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/apmd/apmd-3.2.2/90-wifi-off b/packages/apmd/apmd-3.2.2/90-wifi-off new file mode 100644 index 0000000000..c54936c4be --- /dev/null +++ b/packages/apmd/apmd-3.2.2/90-wifi-off @@ -0,0 +1,12 @@ +#!/bin/sh +#Author: Rolf Leggewie +# +# turn off wifi cards before suspend so they are fully reloaded upon resume + +wifislot = `pccardctl ls|egrep '(hostap|orinoco)'|cut -f 2 -d " "` +if test $wifislot +then + for slot in $wifislot; do + pccardctl eject $wifislot + done +fi |