summaryrefslogtreecommitdiffstats
path: root/.local/bin/wifi
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/wifi')
-rwxr-xr-x.local/bin/wifi4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/wifi b/.local/bin/wifi
new file mode 100755
index 0000000..6ced27f
--- /dev/null
+++ b/.local/bin/wifi
@@ -0,0 +1,4 @@
+#!/usr/local/bin/dash
+
+doas bsdsetsid wpa_supplicant -c /etc/wpa_supplicant.conf -i wlan0
+doas dhclient wlan0