xref: /freebsd/contrib/wpa/wpa_supplicant/examples/60_wpa_supplicant (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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