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