Skip to content
Snippets Groups Projects
Commit 9f7d168a authored by Jean-Claude BAU's avatar Jean-Claude BAU Committed by Adam Wujek
Browse files

Bug fix when pprofile ptp is set

parent bc1acd9f
No related branches found
No related tags found
No related merge requests found
......@@ -463,11 +463,11 @@ for i_port in {01..18}; do # scan all the physical ports
# set the profile
v="$inst_vn[prof]"
p_prof=${!v}
if [ "${p_prof}" = "wr" ]; then
if [ "${p_prof}" == "wr" ]; then
eval ${v}="whiterabbit"
elif [ "${p_prof}" = "ha" ]; then
elif [ "${p_prof}" == "ha" ]; then
eval ${v}="highaccuracy"
elif [ "${p_prof}" = "none" ]; then
elif [ "${p_prof}" == "none" ] || [ "${p_prof}" == "ptp" ]; then
# do nothing
eval ${v}="ptp" >> $OUTPUT_FILE
p_prof="ptp"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment