diff --git a/bin/initramfs_yenile b/bin/initramfs_guncelle similarity index 50% rename from bin/initramfs_yenile rename to bin/initramfs_guncelle index ae9b56713..14efed867 100755 --- a/bin/initramfs_yenile +++ b/bin/initramfs_guncelle @@ -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` diff --git a/bin/initramfs_yap.sh b/bin/initramfs_yap.sh deleted file mode 100755 index a3c6b622c..000000000 --- a/bin/initramfs_yap.sh +++ /dev/null @@ -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