summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-28 16:16:51 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-28 16:17:53 -0400
commit0790b420c4a16a42822d48edadb349a654b00179 (patch)
tree0c6ccc801819dd3b5ee7c256e5e7d0189863d596 /etc
parent8fe7e3fcd28bd1ba0ca6f9a2fc9c3863217fe337 (diff)
downloadpfsense-0790b420c4a16a42822d48edadb349a654b00179.zip
pfsense-0790b420c4a16a42822d48edadb349a654b00179.tar.gz
Require globals.inc and use correct directory name sshd, not ssh
Diffstat (limited to 'etc')
-rwxr-xr-xetc/sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sshd b/etc/sshd
index 96e16a0..1e44cf4 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/sshd/sshd_host_key.pub")) {
+ if(!file_exists("/etc/ssh/sshd_host_key.pub")) {
cp("/conf/sshd/* /etc/ssh/");
}
}
OpenPOWER on IntegriCloud