Switching to a Chinese server

The Beckhoff repository is not accessible from China and has to be switched over to the Chinese server. Run the pkgrepo-set script to switch from the default server to the Chinese server.

Switch to the Chinese server as follows:

1. Enter the doas sh /usr/local/share/examples/bhf/pkgrepo-set.sh china command in the console.
2. The URL in the file TCBSD.conf is changed from https://tcbsd.beckhoff.com/TCBSD/14/stable/packages to https://tcbsd.beckhoff.com.cn/TCBSD/14/stable/packages.
You have successfully set the Chinese server. You can restore the default settings with the command doas sh /usr/local/share/examples/bhf/pkgrepo-set.sh release.