Which also fails (since there is no Internet) and causes the script to abort w/o starting the server.
On slower RPIs, this may cause the server to not start most of the time, since the $all dependency only means that the network interfaces and daemons are started, not necessarily fully initialized. In particular, dhcpcd is started, but may not have acquired an IP address.
Need to add additional logic that if the population of NETWORK_TAG fails, server should still start based on what already exists in /opt/cwh.
The update checking populates NETWORK_TAG from a wget to github. If this fails, NETWORK_TAG is null.
This makes the update logic think that the distribution requires updating due to the logic in:
Which also fails (since there is no Internet) and causes the script to abort w/o starting the server.
On slower RPIs, this may cause the server to not start most of the time, since the
$all
dependency only means that the network interfaces and daemons are started, not necessarily fully initialized. In particular, dhcpcd is started, but may not have acquired an IP address.Need to add additional logic that if the population of NETWORK_TAG fails, server should still start based on what already exists in /opt/cwh.