60_wpa_supplicant 267 B

12345678910111213141516171819
  1. #!/bin/sh
  2. # /etc/pm/sleep.d/60_wpa_supplicant
  3. # Action script to notify wpa_supplicant of pm-action events.
  4. PATH=/sbin:/usr/sbin:/bin:/usr/bin
  5. WPACLI=wpa_cli
  6. case "$1" in
  7. suspend|hibernate)
  8. $WPACLI suspend
  9. ;;
  10. resume|thaw)
  11. $WPACLI resume
  12. ;;
  13. esac
  14. exit 0