Skip to content

Commit

Permalink
service: don't run RFFE IOC for virtual slot 24.
Browse files Browse the repository at this point in the history
This virtual slot is never used for a RFFE, as the board contains a
single core that deals with its output.
  • Loading branch information
henriquesimoes committed Aug 23, 2024
1 parent 81d78d8 commit 67e6bd3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion service/ioc-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ case "$(decode-reg build_info -q --slot ${devslot})" in
VSLOT1=$(/opt/afc-epics-ioc/iocBoot/iocutca/getSlot.sh $devslot)
VSLOT2=$(( VSLOT1 + 1 ))

systemctl start rffe-ioc@${VSLOT1}.service rffe-ioc@${VSLOT2}.service || true
services="rffe-ioc@${VSLOT1}.service"
[ "$VSLOT2" -lt 24 ] && services="$services rffe-ioc@${VSLOT2}.service"

systemctl start $services || true
;;
esac

Expand Down

0 comments on commit 67e6bd3

Please sign in to comment.