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-11-05 18:57:55 +0300
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
34093f1d5a06a5d18394624df1f0b999ab1c5f01
34093f1d
2 parents
d7fb5ce6
7a576f87
Merge branch 'master' of
https://gitlab.ut.mephi.ru/ut/ipw
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
ipw
ipw
View file @
34093f1
...
...
@@ -493,8 +493,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