mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-25 14:44:09 +00:00
Remove unused files
This commit is contained in:
parent
86992a243b
commit
6c29473d01
@ -1,4 +0,0 @@
|
|||||||
#DHCP client
|
|
||||||
DEVICE=wlan0
|
|
||||||
BOOTPROTO=dhcp
|
|
||||||
ONBOOT=yes
|
|
20
runwpa
20
runwpa
@ -1,20 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ "`which iwconfig`" = "" ] ; then
|
|
||||||
echo "WARNING:Wireless tool not exist!"
|
|
||||||
echo " Please install it!"
|
|
||||||
exit
|
|
||||||
else
|
|
||||||
if [ `uname -r | cut -d. -f2` -eq 4 ]; then
|
|
||||||
wpa_supplicant -D ipw -c wpa1.conf -i wlan0
|
|
||||||
else
|
|
||||||
if [ `iwconfig -v |awk '{print $4}' | head -n 1` -lt 18 ] ; then
|
|
||||||
wpa_supplicant -D ipw -c wpa1.conf -i wlan0
|
|
||||||
else
|
|
||||||
wpa_supplicant -D wext -c wpa1.conf -i wlan0
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
16
wlan0dhcp
16
wlan0dhcp
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
var0=`ps aux|awk '/dhclient wlan0/'|awk '$11!="awk"{print $2}'`
|
|
||||||
|
|
||||||
kill $var0
|
|
||||||
cp ifcfg-wlan0 /etc/sysconfig/network-scripts/
|
|
||||||
|
|
||||||
dhclient wlan0
|
|
||||||
|
|
||||||
var1=`ifconfig wlan0 |awk '/inet/{print $2}'|awk -F: '{print $2}'`
|
|
||||||
|
|
||||||
|
|
||||||
rm -f /etc/sysconfig/network-scripts/ifcfg-wlan0
|
|
||||||
|
|
||||||
echo "get ip: $var1"
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user