This commit is contained in:
Valeria Fadeeva 2023-10-29 23:44:24 +05:00
parent 6f1f3a529f
commit 0d394fa234
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ if [ -d "$KERNEL_DIR" ]; then
icon=$(grep "^ID=" /etc/os-release | cut -d'=' -f2 | sed -e 's/"//g')
initramfs_tpl=$(echo "initramfs-$kernel" | sed "s/vmlinuz-//g")
initramfs="$initramfs_tpl.img"
initramfs="$initramfs_tpl"
echo "OSNAME: $osname; THEME: $theme; ICON: $icon; KERNEL: $kernel; KERNEL_EFI: $kernel_efi; KERNEL_VMLINUZ: $kernel_vmlinuz; INITRAMFS: $initramfs; CMDLINE: $cmdline"
sed -e "s|{OSNAME}|$osname|g" -e "s|{THEME}|$theme|g" -e "s|{ICON}|$icon|g" -e "s|{KERNEL}|$kernel|g" -e "s|{KERNEL_EFI}|$kernel_efi|g" -e "s|{KERNEL_VMLINUZ}|$kernel_vmlinuz|g" -e "s|{INITRAMFS}|$initramfs|g" -e "s|{CMDLINE}|$cmdline|g" -e "s|{CMDLINE_TERMINAL}|$cmdline_terminal|g" "$template" >> "$manual_conf"