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 received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065037 Title: dhcpcd is called before interfaces have carrier causing a 29 seconds boot delay To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2065037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs