On Fri, Jun 03, 2016 at 01:59:08PM BST, Etienne wrote:
> 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.

/etc/apm/resume I presume :^)

man 8 apmd

Regards,

Raf

Reply via email to