bin/wpa.sh (view raw)
1#!/usr/bin/env bash 2 3sudo wpa_supplicant -i wlp2s0 -B -c /etc/wpa_supplicant.conf 4sudo wpa_cli -i wlp2s0 select_network "$1" 5sudo dhcpcd wlp2s0