From 0790b420c4a16a42822d48edadb349a654b00179 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 28 Jun 2009 16:16:51 -0400 Subject: Require globals.inc and use correct directory name sshd, not ssh --- etc/sshd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/"); } } -- cgit v1.1