Comment 68 for bug 1585863

Revision history for this message
taiebot65 (dedreuil) wrote :

I tried comment #60 and it does not work for me. My file looks like that but after a restart i am still unable to connect.

My file looks like that now

#!/bin/sh
set -e

if [ "$2" = "suspend" ] || [ "$2" = "hybrid-sleep" ]; then
    case "$1" in
        pre) /sbin/wpa_cli suspend ;;
        post) $(sleep 10;/sbin/wpa_cli resume) & ;;
    esac
fi