diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-01-18 18:26:10 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-01-18 18:26:10 +0000 |
commit | 6e65f76c3d5946817e285b93d73d6475c7f0da42 (patch) | |
tree | ab5658fad93e10cc7f5b7491b57f2c938d575edf /packages/apmd/files | |
parent | c4b744dbb34a1d8c5b0d9ab5f52d387366cad69e (diff) |
apmd|hostap|orinoco: move the fix for bug 3664 into a separate package
* the package is RRECOMMENDS and should be installed automatically, but can
be removed if one so desires
* reorder some fields according to StyleGuide
* bump PR
Diffstat (limited to 'packages/apmd/files')
-rw-r--r-- | packages/apmd/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/apmd/files/90-wifi-off | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/apmd/files/.mtn2git_empty b/packages/apmd/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/apmd/files/.mtn2git_empty diff --git a/packages/apmd/files/90-wifi-off b/packages/apmd/files/90-wifi-off new file mode 100644 index 0000000000..c54936c4be --- /dev/null +++ b/packages/apmd/files/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 |