summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-29 21:28:13 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-29 21:28:13 -0400
commitd226535c8e82ab04e2190a218b0982ecba410ef7 (patch)
tree1c04d163bb37ba7b4651ca6736af380ff1818e8f /etc/sshd
parentd2fdbd6f5102f647144c42fdc904aa8ce72b1dbd (diff)
downloadpfsense-d226535c8e82ab04e2190a218b0982ecba410ef7.zip
pfsense-d226535c8e82ab04e2190a218b0982ecba410ef7.tar.gz
Add bit when restoring for diagnostics
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