Add mkdir and rm function to initramfs script.