Commit 9f7d168a authored by Jean-Claude BAU's avatar Jean-Claude BAU Committed by Adam Wujek

Bug fix when pprofile ptp is set

parent bc1acd9f
......@@ -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"
......
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