diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-03 16:20:06 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-03 16:20:06 -0800 |
commit | 8cbbfa27c80fa2ff6d14893822320f878b24511e (patch) | |
tree | d4a343ca9b03ca7c14dea9dc2f9ccf128d2bcf39 /scripts/install/install-postinst-new | |
parent | cd0320558342126ca8df91dd7d73f4561890e00d (diff) | |
parent | 1e64d65f2aa75817294fe76937f0170bf8d4f81a (diff) | |
download | vyatta-cfg-system-8cbbfa27c80fa2ff6d14893822320f878b24511e.tar.gz vyatta-cfg-system-8cbbfa27c80fa2ff6d14893822320f878b24511e.zip |
Merge branch 'kenwood' of 192.168.100.1:git/vyatta-cfg-system into kenwood
Diffstat (limited to 'scripts/install/install-postinst-new')
-rwxr-xr-x | scripts/install/install-postinst-new | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/install/install-postinst-new b/scripts/install/install-postinst-new index 84b96989..d2187434 100755 --- a/scripts/install/install-postinst-new +++ b/scripts/install/install-postinst-new @@ -77,6 +77,12 @@ copy_config () { chgrp vyattacfg $cfg_dir/config.boot chmod 775 $cfg_dir/config.boot fi + + # copy ssh keys + if [ -d /mnt/ssh ]; then + echo "Copying SSH keys." + cp -p /mnt/ssh/* $rootfsdir/etc/ssh + fi } # setup grub on the boot sector of a user selected drive |