check-fai() {
# we could just as well check if last_boot != /debianstable_boostrap
# the intent with this one is just a little clearer.
if [[ $did_fai_check == true ]]; then
check-fai() {
# we could just as well check if last_boot != /debianstable_boostrap
# the intent with this one is just a little clearer.
if [[ $did_fai_check == true ]]; then
# ref: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
deadline=$(( `date +%s` + NETWORK_TIMOUT_SECS ))
while ! systemctl status network-online.target && \
# ref: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
deadline=$(( `date +%s` + NETWORK_TIMOUT_SECS ))
while ! systemctl status network-online.target && \