From d28075bc51206bb8ef7e4f325ef7445ad8ac8686 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Wed, 14 Jul 2010 14:54:32 -0700 Subject: Bugfix 5557: Properly update initrd symlink. --- scripts/vyatta-update-grub.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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"); -- cgit v1.2.3