summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-27 21:33:17 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-27 21:33:17 -0400
commit4c2fa5b5ff39bf8c73949dfc44d7663ca08325ee (patch)
treef078be49c14e01023721593e69ba1c8c814aa0ed /etc/sshd
parent72cbe1bd4af8c73c973db1672817c1a4d1183019 (diff)
downloadpfsense-4c2fa5b5ff39bf8c73949dfc44d7663ca08325ee.zip
pfsense-4c2fa5b5ff39bf8c73949dfc44d7663ca08325ee.tar.gz
s/config/conf/
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/sshd b/etc/sshd
index 23e5f0b..07eb5ab 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -47,9 +47,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/");
}
}
@@ -181,9 +181,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