summaryrefslogtreecommitdiff
path: root/scripts/install/install-postinst-new
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-03-08 14:16:53 -0800
committerBob Gilligan <gilligan@vyatta.com>2010-03-08 14:16:53 -0800
commitf457da66e387d10a71ae823ce55e7a4c69f87ed2 (patch)
treea2f85d7b7efcc5520674880f4e953c62b9340174 /scripts/install/install-postinst-new
parent3d74a5cb968f18926899b9552320d6c90d4e32bd (diff)
downloadvyatta-cfg-system-f457da66e387d10a71ae823ce55e7a4c69f87ed2.tar.gz
vyatta-cfg-system-f457da66e387d10a71ae823ce55e7a4c69f87ed2.zip
Bugfix 5414: Use correct install root reference when copying back SSH keys.
Diffstat (limited to 'scripts/install/install-postinst-new')
-rwxr-xr-xscripts/install/install-postinst-new2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-postinst-new b/scripts/install/install-postinst-new
index e099e030..65c6cd7f 100755
--- a/scripts/install/install-postinst-new
+++ b/scripts/install/install-postinst-new
@@ -81,7 +81,7 @@ copy_config () {
# copy ssh keys
if [ -d /mnt/ssh ]; then
echo "Copying SSH keys."
- cp -p /mnt/ssh/* $rootfsdir/etc/ssh
+ cp -p /mnt/ssh/* ${INST_ROOT}/etc/ssh
fi
}