summaryrefslogtreecommitdiff
path: root/scripts/install/install-image-existing
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-05-03 17:19:15 -0700
committerBob Gilligan <gilligan@vyatta.com>2010-05-03 17:19:15 -0700
commit83cca7053bba3181b451609fee641271b3b7adf3 (patch)
tree6f03379b89876b5558fbd8d545536df89492da78 /scripts/install/install-image-existing
parent763e6473a0ec3a96fdd83d574c44cb689f4c7a36 (diff)
downloadvyatta-cfg-quagga-83cca7053bba3181b451609fee641271b3b7adf3.tar.gz
vyatta-cfg-quagga-83cca7053bba3181b451609fee641271b3b7adf3.zip
Add code to check digital signature of image files.
In URL mode, we now check for a digital signature file. If one exists, we'll try to download it and check the signature.
Diffstat (limited to 'scripts/install/install-image-existing')
-rwxr-xr-xscripts/install/install-image-existing2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing
index bad2be58..d35437ba 100755
--- a/scripts/install/install-image-existing
+++ b/scripts/install/install-image-existing
@@ -184,7 +184,7 @@ if [ -e "$DEF_GRUB" ]; then
cp $DEF_GRUB $def_grub_vers
sed -i "s/menuentry \"Vyatta.*(/menuentry \"Vyatta image $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
+ sed -i "sX/boot/[A-Za-z0-9\.\-]*X/boot/${NEWNAME}Xg" $def_grub_vers
old_grub_cfg=$BOOT_DIR/grub/grub.cfg
new_grub_cfg=/tmp/grub.cfg.$$