Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
70dab89b
Commit
70dab89b
authored
Jun 20, 2012
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-interfaces: do not ask to bridge bridge interfaces
parent
625a07f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
setup-interfaces.in
setup-interfaces.in
+5
-1
No files found.
setup-interfaces.in
View file @
70dab89b
...
...
@@ -109,6 +109,10 @@ bridge_list_ports() {
fi
}
is_bridge
()
{
test
-r
$1
.bridge_ports
}
config_iface
()
{
local
iface
=
$1
local
prefix
=
$2
...
...
@@ -117,7 +121,7 @@ config_iface() {
local
conf
=
$prefix$iface
.conf
local
answer
=
while
[
-n
"
$ask_bridge
"
]
;
do
while
[
-n
"
$ask_bridge
"
]
&&
!
is_bridge
$iface
;
do
ask
"Do you want to bridge the interface
$iface
?"
no
case
"
$resp
"
in
yes
|
y
)
resp
=
yes
;
break
;;
...
...
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