As far as I can tell, the correct test would be:

if [ -d /run/systemd/system -a -d /sys/firmware/efi ]; then

Martin-Éric

Reply via email to