milis/bin/initramfs_yap.sh

5 lines
152 B
Bash
Raw Normal View History

2016-10-24 22:36:19 +02:00
#!/bin/bash
yenimodul=`ls -Art /lib/modules/ | tail -n 1`
modulno=`basename $yenimodul`
dracut -N --force --xz --omit systemd /boot/initramfs $modulno