For this particular example, wouldn&#x27;t this be best solved with a separate runlevel for &quot;reboot into UEFI&quot;? Stop all daemons, remount all normal filesystems read-only, remount UEFI RW, write variable and reboot.