updated dwc for debian stretch (in ifconfig output theres' ":" after iface names)

This commit is contained in:
xdrm-brackets 2017-09-29 10:03:07 +02:00
parent b8011843d1
commit 5ff281d99d
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ slog "[`date +%s`] * 1. Checking connectivity"
# (1) Get interface name # # (1) Get interface name #
slog "[`date +%s`] * 2. Looking for wireless interface"; slog "[`date +%s`] * 2. Looking for wireless interface";
IFACE=`sudo ifconfig -a | grep -P "^w" | awk '{print $1}' | head -n 1`; IFACE=`sudo ifconfig -a | grep -P "^w" | awk '{print $1}' | sed 's/:$//' | head -n 1`;
sudo ifconfig $IFACE up; sudo ifconfig $IFACE up;
# (2) Manage no IFACE found # # (2) Manage no IFACE found #