Toggle navigation
Toggle navigation
This project
Loading...
Sign in
UT
/
ipw
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
redmine
2014-06-27 18:09:01 +0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7a576f8739231148aab0ac2faf6f455e810b7fcf
7a576f87
1 parent
392f6a26
Suppressed few errors
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
ipw
ipw
View file @
7a576f8
...
...
@@ -486,8 +486,11 @@ case "$CMD" in
# Creating bond-ifaces
if
[[
"
$D1Q_EXISTS
"
==
0
]]
;
then
#make all
echo
"+
$D1Q_IFACE
"
> /sys/class/net/bonding_masters
echo
"
$MODE
"
> /sys/class/net/
"
$D1Q_IFACE
"
/bonding/mode
echo
"+
$D1Q_IFACE
"
> /sys/class/net/bonding_masters 2>/dev/null
if
[[
-d /sys/class/net/
"
$D1Q_IFACE
"
/bonding
]]
;
then
echo
"
$MODE
"
> /sys/class/net/
"
$D1Q_IFACE
"
/bonding/mode
fi
for
SLAVE
in
"
${
!SLAVES_VARIABLE
}
"
;
do
ip link
set
dev
"
$SLAVE
"
down
#enslaved int should be shutted down
...
...
Please
register
or
login
to post a comment