diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-28 16:16:31 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-28 16:16:31 -0400 |
commit | c04299f91ea3e5746c113521712d59189a962936 (patch) | |
tree | 9dfc2e161aace5db600062a785d7e319d538953f /etc/sshd | |
parent | 7c2307844c8f3f0a3a19b0a3c2ce80c7d90695fc (diff) | |
download | pfsense-c04299f91ea3e5746c113521712d59189a962936.zip pfsense-c04299f91ea3e5746c113521712d59189a962936.tar.gz |
Require globals.inc and use correct directory name sshd, not ssh
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -28,6 +28,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + require_once("globals.inc"); require_once("config.inc"); require_once("notices.inc"); @@ -45,9 +46,9 @@ } /* restore ssh data for nanobsd platform */ - if($g['platform'] == "nanobsd" and file_exists("/conf/ssh/ssh_host_key")) { + if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) { if(!file_exists("/etc/ssh/sshd_host_key.pub")) { - cp("/conf/ssh/* /etc/ssh/"); + cp("/conf/sshd/* /etc/ssh/"); } } |