Most of the files here have been taken from plymouth-theme-script.