mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2025-09-11 12:36:04 +01:00
This repository contains the Realtek driver V5.1.1.5_20523.20161209_BTCOEX20161208-1212. At inclusion, the only changes from the Realtek version were to fix any compile warnings or errors. With these changes, the driver builds on kernels through 4.11. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
17 lines
294 B
Bash
17 lines
294 B
Bash
#!/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"
|
|
|