summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-29 16:49:58 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-29 16:49:58 -0400
commit1d3bc939e3d8b01b77b011eaf510e58c90e195eb (patch)
tree10a78009f6a65c6869dd6ef67369bcbebe2c301a /etc/sshd
parent50ba07eaf11b46d50022ee924356dc94cbcd81f0 (diff)
downloadpfsense-1d3bc939e3d8b01b77b011eaf510e58c90e195eb.zip
pfsense-1d3bc939e3d8b01b77b011eaf510e58c90e195eb.tar.gz
Correct filename check
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sshd b/etc/sshd
index 1e44cf4..811e587 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -49,7 +49,7 @@
/* restore ssh data for nanobsd platform */
if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) {
- if(!file_exists("/etc/ssh/sshd_host_key.pub")) {
+ if(!file_exists("/etc/ssh/ssh_host_key.pub")) {
cp("/conf/sshd/* /etc/ssh/");
}
}
OpenPOWER on IntegriCloud