summaryrefslogtreecommitdiffstats
path: root/usr/lib/autowifi/plugins/00profile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/autowifi/plugins/00profile')
-rwxr-xr-xusr/lib/autowifi/plugins/00profile11
1 files changed, 0 insertions, 11 deletions
diff --git a/usr/lib/autowifi/plugins/00profile b/usr/lib/autowifi/plugins/00profile
deleted file mode 100755
index d7fb9c75..00000000
--- a/usr/lib/autowifi/plugins/00profile
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-#ESSID MAC CHANNEL ENCRYPTION WPA WPA2
-# ENV:
-# root (default: /)
-root=${root:-/}
-cat $root/etc/autowifi/wifi_keys 2>/dev/null | (while IFS='|' read SSID MAC BANDWIDTH KEY; do
- if [ "$1" == "$SSID" -a "$2" == "$MAC" ]; then
- echo $KEY
- exit 0
- fi
-done; exit 1)