nsbin/linux/t_suspend_iwconfig_no_ip_link_loop.sh

8 lines
330 B
Bash
Raw Normal View History

#!/bin/sh
# Nico Schottelius
# Script to test if iwlagn wlan associated or not after suspend
# run in screen, started via ssh
while true; do echo mem > /sys/power/state ; dmesg; iwconfig wlan0 essid public; sleep 5; iwconfig wlan0; sleep 5; echo =========; iwconfig wlan0 essid public; sleep 5; iwconfig wlan0; read test ; done