diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-07-14 14:54:32 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-07-14 14:54:32 -0700 |
commit | d28075bc51206bb8ef7e4f325ef7445ad8ac8686 (patch) | |
tree | f0b1ae2fb2e001606b9aa8bc35df15b92ac239d7 | |
parent | 923b46db7d7e37d0af4b13e76627926273c8f856 (diff) | |
download | vyatta-cfg-quagga-d28075bc51206bb8ef7e4f325ef7445ad8ac8686.tar.gz vyatta-cfg-quagga-d28075bc51206bb8ef7e4f325ef7445ad8ac8686.zip |
Bugfix 5557: Properly update initrd symlink.
-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"); |