On 06/03/16 05:12, Ray Lai wrote:

#!/bin/sh

if [[ $1 == "home" ]]; then
    doas ifconfig run0 nwid foonet wpa wpakey ultrasecret
    doas dhclient run0
fi
Yup. The goal of wifind is to do exactly this, the moment I resume my laptop,
without my interaction.

May I know what's triggering it? I have something similar, but I need to click on a button to run it.

Cheers,

--
Étienne

Reply via email to