Commit 2508c6af authored by Cédric BRINER's avatar Cédric BRINER Committed by Cédric BRINER
Browse files

do no run off_to_static, for solaris smaller than 5.11

parent 7a14a741
......@@ -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 "--"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment