sxsetup: move repeat logic outside check_port
sxsetup: move repeat logic outside check_port

michals/sx,gcsideal/sx-debian,gcsideal/sx-debian,michals/sx,michals/sx,michals/sx,gcsideal/sx-debian,gcsideal/sx-debian