fix(eww->get-connectivity-info): Fixed interface type case statement
This commit is contained in:
parent
bfd61936ed
commit
7b8dc455d2
1 changed files with 2 additions and 5 deletions
|
@ -3,13 +3,10 @@
|
||||||
|
|
||||||
print_network_state() {
|
print_network_state() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
eth*)
|
eth*|enp*)
|
||||||
echo ethernet
|
echo ethernet
|
||||||
;;
|
;;
|
||||||
wlan*)
|
wlan*|wlp*)
|
||||||
echo wireless
|
|
||||||
;;
|
|
||||||
wlp*)
|
|
||||||
echo wireless
|
echo wireless
|
||||||
;;
|
;;
|
||||||
usb*)
|
usb*)
|
||||||
|
|
Loading…
Reference in a new issue