Moving reading of initramfs-tools functions to initramfs-tools script.