summaryrefslogtreecommitdiff
path: root/net_profile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-16 16:34:33 +0200
committerPatrick Simianer <p@simianer.de>2016-04-16 16:34:33 +0200
commit95b3e4bb744932ce4eac14bb350cc0455d15848a (patch)
treec96093d9667c87264a8820d876041fe96b068f57 /net_profile
parentfca926851e1d56eeb0044727fe976252d646f48d (diff)
mv
Diffstat (limited to 'net_profile')
-rwxr-xr-xnet_profile20
1 files changed, 0 insertions, 20 deletions
diff --git a/net_profile b/net_profile
deleted file mode 100755
index 57c278a..0000000
--- a/net_profile
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-DEV=`ls -1 /sys/class/net | grep wlan`
-
-setup_wifi()
-{
- sudo wpa_supplicant -D wext -i $DEV -c ~/.net_profiles/$1.conf &>/tmp/wpa_supplicant.log &
- sudo /etc/init.d/dhcpcd start
- sleep 30
- sudo rc-config start ntp-client
-}
-
-if [ ! -f ~/.net_profiles/$1.conf ]; then
- echo "no such profile"
- exit
-fi
-
-setup_wifi $1
-
-