1 2 3 4 5 6 7
#!/bin/sh cd /usr/src/initramfs cp /etc/suspend.conf /usr/src/initramfs/etc/ find . -print0 | cpio --null -ov --format=newc | gzip -9 > /boot/initramfs.cpio.gz