Commit e69b5ad7 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Hide some more interfaces which can't be default one.

parent 9b80993e
...@@ -507,7 +507,7 @@ function select_default_interface () ...@@ -507,7 +507,7 @@ function select_default_interface ()
{ {
IFS=$'\r\n' IFS=$'\r\n'
GLOBIGNORE='*' GLOBIGNORE='*'
local ADAPTER=($(ls /sys/class/net | grep -E -v 'lo|tun')) local ADAPTER=($(ls /sys/class/net | grep -E -v 'lo|tun|bonding_masters|dummy0'))
local LIST=() local LIST=()
for i in "${ADAPTER[@]}" for i in "${ADAPTER[@]}"
do do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment