On Thu, Jun 2, 2016 at 7:52 PM, Mike Belopuhov wrote:
> On 3 June 2016 at 00:17, Gleydson Soares wrote:
>> I usually just use a small script that lives in ~/bin
>>
>
> It's a great name, though.
Oops, Disregard it...
it was a reply to:
http://marc.info/?l=openbsd-misc&m=146488514620893&w=2
uni
On 3 June 2016 at 00:17, Gleydson Soares 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
>
I usually just use a small script that lives in ~/bin
cat ~/bin/wifi
#!/bin/sh
if [[ $1 == "home" ]]; then
doas ifconfig run0 nwid foonet wpa wpakey ultrasecret
doas dhclient run0
fi