You could comment out the complete if-condition instead of adding a dummy variable. BTW, you can check the code with shellcheck after your modification:
```
shellcheck -s sh -e SC3043,SC1090,SC1091 /usr/share/initramfs-tools/scripts/functions
```
Reducing the kernel+initrd time from 47 seconds down to 28 seconds sound correct to me.
You could comment out the complete if-condition instead of adding a dummy variable. BTW, you can check the code with shellcheck after your modification:
``` SC1090, SC1091 /usr/share/ initramfs- tools/scripts/ functions
shellcheck -s sh -e SC3043,
```
Reducing the kernel+initrd time from 47 seconds down to 28 seconds sound correct to me.