Revision a15d42d8
Added by Scott Ullrich about 16 years ago
etc/sshd | ||
---|---|---|
48 | 48 |
/* restore ssh data for nanobsd platform */ |
49 | 49 |
if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) { |
50 | 50 |
if(!file_exists("/etc/ssh/sshd_host_key.pub")) { |
51 |
cp("/conf/sshd/* /etc/ssh/");
|
|
51 |
exec("/conf/sshd/* /etc/ssh/");
|
|
52 | 52 |
} |
53 | 53 |
} |
54 | 54 |
|
Also available in: Unified diff
Correct copy commmand