Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
e69b5ad7
Commit
e69b5ad7
authored
Jan 13, 2018
by
Igor Pecovnik
Browse files
Hide some more interfaces which can't be default one.
parent
9b80993e
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-submenu
View file @
e69b5ad7
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment