diff options
author | Daniil Baturin <daniil@baturin.org> | 2013-12-22 09:11:10 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2013-12-22 09:11:10 +0100 |
commit | 2a90fdd264d7301cdca34d2c15ea158675b1e157 (patch) | |
tree | 5d3e7999258e359df2632199fd6589386f5dcd12 /scripts/install | |
parent | 9df4c57138237e331ef934914232a8395871b54f (diff) | |
download | vyatta-cfg-system-2a90fdd264d7301cdca34d2c15ea158675b1e157.tar.gz vyatta-cfg-system-2a90fdd264d7301cdca34d2c15ea158675b1e157.zip |
Bug #96: fix menu entry generation so image version is included.
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/install-image-existing | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing index 54881043..2dedeb95 100755 --- a/scripts/install/install-image-existing +++ b/scripts/install/install-image-existing @@ -247,7 +247,7 @@ if [ -e "$DEF_GRUB" ]; then def_grub_vers=/tmp/def_grub.$$ cp $DEF_GRUB $def_grub_vers - sed -i "s/menuentry \"Vyatta.*(/menuentry \"Vyatta image $NEWNAME (/" $def_grub_vers + sed -i "s/menuentry \"VyOS.*(/menuentry \"VyOS $NEWNAME (/" $def_grub_vers sed -i "s/menuentry \"Lost password change.*(/menuentry \"Lost password change $NEWNAME (/" $def_grub_vers sed -i "sX/boot/[A-Za-z0-9\.\-]*X/boot/${NEWNAME}Xg" $def_grub_vers |