From 95b3e4bb744932ce4eac14bb350cc0455d15848a Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sat, 16 Apr 2016 16:34:33 +0200 Subject: mv --- net_profile | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 net_profile (limited to 'net_profile') 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 - - -- cgit v1.2.3