diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2008-01-21 21:09:09 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2008-01-21 21:09:09 +0000 |
commit | afd58cdcce656ced784bfca78d7d96e2edca8cee (patch) | |
tree | b49291fedc042760b35f74afa9b7e82b591147e5 /packages/apmd/files | |
parent | ac6de0f3c0d8d5fe5708d9125c1319fbf5d627a6 (diff) | |
parent | a7a4c7d6f9bbcda53d3bf07d51142d41e1a4558b (diff) |
merge of '1cc9d40e03f431fac4150580f6a58521cae55509'
and 'a250ef0b1707ead866fe051ca88c56e538d51bfb'
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 |