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
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
9711fe95
Commit
9711fe95
authored
Sep 09, 2013
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix smartctl check for FreeBSD.
parent
6bc5c3fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
clientside/tmcc/common/checknode/checkutils.sh
clientside/tmcc/common/checknode/checkutils.sh
+3
-3
No files found.
clientside/tmcc/common/checknode/checkutils.sh
View file @
9711fe95
...
...
@@ -584,9 +584,9 @@ findSmartctl_getopt() {
fi
fi
# if found check functionally
if
[
-n
"
${
findit
}
"
]
;
then
x
=
$(
/usr/sbin/smartctl
--get
|
grep
REQUIRED
)
[[
-z
"
$x
"
]]
&&
findit
=
$NOSM
if
[
"
${
findit
}
"
!=
"
$NOSM
"
]
;
then
x
=
$(
${
findit
}
--get
|
grep
REQUIRED
)
[[
-z
"
$x
"
]]
&&
findit
=
$NOSM
fi
echo
$findit
...
...
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