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 19:00:37 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
301e94f5e3a9caf79048146a4fa313d0c5bce3b1
301e94f5
1 parent
34093f1d
Added IPW_DEBUG env
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
ipw
ipw
View file @
301e94f
...
...
@@ -311,6 +311,10 @@ case "$CMD" in
fix
)
#fix all interfaces to config state
#brctl addif bond0 eth2
if
[[
"
$IPW_DEBUG
"
-ge
"2"
]]
;
then
cat
"
$IPW_CONFIG_PATH
"
> /tmp/ipw.conf-fix.
$(
date +
'%Y%m%d%H%M%S'
)
fi
if
[[
"
$IPW_CONFIG_PATH
"
!
=
"/dev/null"
]]
;
then
if
[[
"
$(
cat
$IPW_CONFIG_PATH
2>/dev/null
)
"
=
""
]]
;
then
eerror
"Empty config file"
...
...
Please
register
or
login
to post a comment