Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Proper ipw3945 suspend/resume
#!/bin/sh
. /etc/pm/functions
suspend_ipw() {
stopservice ipw3945d
}
resume_ipw() {
restartservice ipw3945d
}
case "$1" in
hibernate|suspend)
suspend_ipw
;;
thaw|resume)
resume_ipw
;;
*)
;;
esac
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment