1#!/bin/sh 2 3# Log some extra information at the beginning of a suspend/resume cycle. 4 5echo "!!!!!!!!!!!wifi $1 $2" > /dev/kmsg 6 7case "$1-$2" in 8 pre-hibernate|pre-suspend) 9 hciconfig hci0 down 10 ifconfig wlan0 down 11 ;; 12 post-hibernate|post-suspend) 13 kilall brcm_patchram_plus1 14 ifconfig wlan0 up 15 bt_pcba_test& 16 ;; 17 *) exit $NA 18 ;; 19esac 20