summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install/install-get-partition3
-rwxr-xr-xscripts/install/install-postinst-new2
2 files changed, 4 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index f6977850..250cec68 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -467,6 +467,9 @@ save_old_keys() {
# reset modes on keys (should already be set)
chmod 600 /mnt/ssh/*_key 2>&1
chmod 644 /mnt/ssh/*.pub 2>&1
+ echo "SSH keys have been saved."
+ else
+ echo "OK. SSH keys not saved."
fi
}
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
}