shithub: rc

ref: 89e6e3a79039948182c87c91571bd8b43759afb0
dir: /bin/wpa/

View raw version
#!/bin/rc -e
ip/ipconfig ether /net/ether0 unbind || status=''
if(! test -d /net/ether1)
	bind -a '#l1' /net
aux/wpa -s $1 /net/ether1
# if shit really fucks out, kill ipconfig
ip/ipconfig ether /net/ether1