On 3 June 2016 at 00:17, Gleydson Soares <gsoa...@gmail.com> wrote: > I usually just use a small script that lives in ~/bin >
It's a great name, though. > cat ~/bin/wifi > > #!/bin/sh > > if [[ $1 == "home" ]]; then > doas ifconfig run0 nwid foonet wpa wpakey ultrasecret > doas dhclient run0 > fi >