summaryrefslogtreecommitdiff
path: root/scripts/vyatta-update-grub.pl
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-07-14 14:54:32 -0700
committerBob Gilligan <gilligan@vyatta.com>2010-07-14 14:54:32 -0700
commitd28075bc51206bb8ef7e4f325ef7445ad8ac8686 (patch)
treef0b1ae2fb2e001606b9aa8bc35df15b92ac239d7 /scripts/vyatta-update-grub.pl
parent923b46db7d7e37d0af4b13e76627926273c8f856 (diff)
downloadvyatta-cfg-system-d28075bc51206bb8ef7e4f325ef7445ad8ac8686.tar.gz
vyatta-cfg-system-d28075bc51206bb8ef7e4f325ef7445ad8ac8686.zip
Bugfix 5557: Properly update initrd symlink.
Diffstat (limited to 'scripts/vyatta-update-grub.pl')
-rw-r--r--scripts/vyatta-update-grub.pl2
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");