initramfs
This commit is contained in:
parent
15abe9acf9
commit
daf21b2b9e
|
@ -1 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
if [ -f /boot/initramfs ];then
|
||||||
|
mv /boot/initramfs /boot/initramfs_eski
|
||||||
|
fi
|
||||||
dracut -N --force --xz --omit systemd --add-drivers ahci -f /boot/initramfs `uname -r`
|
dracut -N --force --xz --omit systemd --add-drivers ahci -f /boot/initramfs `uname -r`
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
if [ -f /boot/initramfs ];then
|
|
||||||
mv /boot/initramfs /boot/initramfs_eski
|
|
||||||
fi
|
|
||||||
yenimodul=`ls -Art /lib/modules/ | tail -n 1`
|
|
||||||
modulno=`basename $yenimodul`
|
|
||||||
dracut -N --force --xz --omit systemd /boot/initramfs $modulno
|
|
Loading…
Reference in New Issue