diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vyatta-update-grub.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-update-grub.pl b/scripts/vyatta-update-grub.pl index 7120690d..a9e646ed 100644 --- a/scripts/vyatta-update-grub.pl +++ b/scripts/vyatta-update-grub.pl @@ -152,7 +152,7 @@ if ($? >> 8) { } -$sedcmd="sed -i 's+initrd $on_disk_kernel_dir\/initrd-[^ ]* +initrd $on_disk_kernel_dir\/initrd +' $tmp_grub_cfg_file"; +$sedcmd="sed -i 's+initrd $on_disk_kernel_dir\/initrd.img-[^ ]*\$+initrd $on_disk_kernel_dir\/initrd.img +' $tmp_grub_cfg_file"; log_msg("Executing: $sedcmd \n"); |