diff options
-rw-r--r-- | tools/tools/nanobsd/Files/root/save_sshkeys | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/nanobsd/Files/root/save_sshkeys b/tools/tools/nanobsd/Files/root/save_sshkeys index de6d3e9..03fccf4 100644 --- a/tools/tools/nanobsd/Files/root/save_sshkeys +++ b/tools/tools/nanobsd/Files/root/save_sshkeys @@ -31,10 +31,10 @@ set -e trap "umount /cfg" 1 2 15 EXIT mount /cfg -mkdir -p /mnt/ssh +mkdir -p /cfg/ssh ( cd /etc/ssh -cp ssh_host_* /mnt/ssh +cp ssh_host_* /cfg/ssh ) umount /cfg trap 1 2 15 EXIT |