shithub: rc

ref: a5d881764e2f96d0fba934a023e0565282a5af9a
dir: /bin/wpa/

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