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
60c40e60
Commit
60c40e60
authored
May 15, 2018
by
Igor Pecovnik
Browse files
Bugfix
parent
991a2703
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-functions-network
View file @
60c40e60
...
@@ -431,7 +431,7 @@ function select_default_interface ()
...
@@ -431,7 +431,7 @@ function select_default_interface ()
IFS
=
$'
\r\n
'
IFS
=
$'
\r\n
'
GLOBIGNORE
=
'*'
GLOBIGNORE
=
'*'
local
ADAPTER
=(
$(
ls
/sys/class/net |
grep
-E
-v
'lo|tun|bonding_masters|dummy0|bond0|sit0'
)
)
local
ADAPTER
=(
$(
ls
/sys/class/net |
grep
-E
-v
'lo|tun|bonding_masters|dummy0|bond0|sit0
|br0
'
)
)
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