summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/sshd b/etc/sshd
index 811e587..5a12bca 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -50,6 +50,7 @@
/* restore ssh data for nanobsd platform */
if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) {
if(!file_exists("/etc/ssh/ssh_host_key.pub")) {
+ echo "Restoring SSH from /conf/sshd/";
cp("/conf/sshd/* /etc/ssh/");
}
}
OpenPOWER on IntegriCloud