summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-26 08:15:06 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-11-26 08:15:21 -0200
commit708aa0eff85e5632942aa3e146ebaffdf5c081b9 (patch)
tree371867e59ed91983f16e5cca6fb4f9688f8b4cd0 /etc/sshd
parentc683f6279f2fde8c2a02caaf4df7e55bbb403fdd (diff)
downloadpfsense-708aa0eff85e5632942aa3e146ebaffdf5c081b9.zip
pfsense-708aa0eff85e5632942aa3e146ebaffdf5c081b9.tar.gz
Remove variable use here since it's confusing sshdcond package, ticket #3959
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/sshd b/etc/sshd
index 9caf262..6982554 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -126,8 +126,8 @@
$sshconf .= "VersionAddendum \n";
/* Apply package SSHDCond settings if config file exists */
- if (file_exists("{$sshConfigDir}d_extra")) {
- $fdExtra = fopen("{$sshConfigDir}d_extra", 'r');
+ if (file_exists("/etc/sshd_extra")) {
+ $fdExtra = fopen("/etc/sshd_extra", 'r');
$szExtra = fread($fdExtra, 1048576); // Read up to 1MB from extra file
$sshconf .= $szExtra;
fclose($fdExtra);
OpenPOWER on IntegriCloud