Debian-CD-Scripts/amd64/genrd.sh

9 lines
187 B
Bash
Executable File

#!/bin/bash
if [ -d irmod ]; then
cd irmod
find . | cpio -H newc --create --verbose | gzip -9 > ../cd/install.amd/initrd.gz
cd ..
else
echo "wat error (irmod directory not found)"
fi