Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UnixMaster at Central-IT
ipv6-tools
Commits
2508c6af
Commit
2508c6af
authored
May 18, 2016
by
Cédric BRINER
Committed by
Cédric BRINER
May 18, 2016
Browse files
do no run off_to_static, for solaris smaller than 5.11
parent
7a14a741
Changes
1
Hide whitespace changes
Inline
Side-by-side
ipv6-tools
View file @
2508c6af
...
...
@@ -192,6 +192,12 @@ eof
function
off_to_static
()
{
# check that we have solaris 5.11
if
((
$(
echo
"
$(
uname
-r
)
5.11"
| gawk
'{print ($1 < $2)}'
)
))
;
then
pr
"Solaris version (
$(
uname
-r
)
smaller than 5.11."
pb
"Exit !"
exit
0
fi
# check that we are ipv6 off
echo
""
pb
"--"
...
...
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