aboutsummaryrefslogtreecommitdiff
path: root/wifi
diff options
context:
space:
mode:
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