Martin-Éric Racine Tue, 02 Aug 2022 21:27:19 -0700
As far as I can tell, the correct test would be: if [ -d /run/systemd/system -a -d /sys/firmware/efi ]; then
Martin-Éric