Project

General

Profile

« Previous | Next » 

Revision 0790b420

Added by Scott Ullrich about 16 years ago

Require globals.inc and use correct directory name sshd, not ssh

View differences:

etc/sshd
49 49

  
50 50
	/* restore ssh data for nanobsd platform */
51 51
	if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) {
52
		if(!file_exists("/etc/sshd/sshd_host_key.pub")) {
52
		if(!file_exists("/etc/ssh/sshd_host_key.pub")) {
53 53
			cp("/conf/sshd/* /etc/ssh/");
54 54
		}
55 55
	}

Also available in: Unified diff