set +x
fi
first=false
- # we could just as well check if last_boot != /debianbuster_boostrap
+ # we could just as well check if last_boot != /debianbullseye_bootstrap
# the intent with this one is just a little clearer.
if [[ $did_fai_check == true ]]; then
grub-editenv /mnt/grubenv set did_fai_check=os_true
done
# the check for last_boot is not needed afaik, just sanity check.
-if [[ $did_fai_check == true && $last_boot != /debianbuster_boostrap ]]; then
+if [[ $did_fai_check == true && $last_boot != /debianbullseye_bootstrap ]]; then
# no need to reboot if we actually want to boot into this os.
reboot
fi