aboutsummaryrefslogtreecommitdiff
path: root/wifi
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-20 21:02:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-20 21:02:00 -0300
commit0220c9924c6fb633e7cd55be548a1604fdf4f63c (patch)
tree08d2f1e4b5c5b1c3556fc81893619e73b0835285 /wifi
parente851401694daacaf1aba2c87ed557e5dbf00af02 (diff)
downloadscripts-0220c9924c6fb633e7cd55be548a1604fdf4f63c.tar.gz
scripts-0220c9924c6fb633e7cd55be548a1604fdf4f63c.tar.bz2
Move scripts to other repositories (2)HEADmaster
Diffstat (limited to 'wifi')
-rwxr-xr-xwifi16
1 files changed, 0 insertions, 16 deletions
diff --git a/wifi b/wifi
deleted file mode 100755
index 6a3a3b5..0000000
--- a/wifi
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-#
-# Wifi initializer
-#
-
-#DEVICE="ath0"
-DEVICE="wlan0"
-
-if [ ! -z "$1" ]; then
- read -sp "Enter the WPA passphrase: " PASS
- echo ""
- wpa_passphrase $1 $PASS
-elif [ -f "wpa_supplicant.conf" ]; then
- sudo wpa_supplicant -B -Dwext -i$DEVICE -cwpa_supplicant.conf
- sudo dhclient $DEVICE
-fi