summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-27 21:32:41 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-27 21:32:41 -0400
commit35518bcb93be04a1efc91de03b273046dbf6c3a9 (patch)
treecac78637f5f6462699b627a2286031d9c2163404 /etc
parent94fd56e41d177c0e7a71dab595bcc45890df9066 (diff)
downloadpfsense-35518bcb93be04a1efc91de03b273046dbf6c3a9.zip
pfsense-35518bcb93be04a1efc91de03b273046dbf6c3a9.tar.gz
s/config/conf/
Diffstat (limited to 'etc')
-rwxr-xr-xetc/sshd10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/sshd b/etc/sshd
index f0611b4..2817b3f 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -45,9 +45,9 @@
}
/* restore ssh data for nanobsd platform */
- if($g['platform'] == "nanobsd" and file_exists("/config/ssh/ssh_host_key")) {
+ if($g['platform'] == "nanobsd" and file_exists("/conf/ssh/ssh_host_key")) {
if(!file_exists("/etc/ssh/sshd_host_key.pub")) {
- cp("/config/ssh/* /etc/ssh/");
+ cp("/conf/ssh/* /etc/ssh/");
}
}
@@ -189,9 +189,9 @@
// NanoBSD
if($g['platform'] == "nanobsd") {
- if(!is_dir("/config/sshd"))
- exec("mkdir /config/sshd");
- exec("cp /etc/ssh/ssh_host* /config/sshd");
+ if(!is_dir("/conf/sshd"))
+ exec("mkdir /conf/sshd");
+ exec("cp /etc/ssh/ssh_host* /conf/sshd");
}
conf_mount_ro();
OpenPOWER on IntegriCloud