diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-29 22:00:46 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-29 22:00:46 -0400 |
commit | 6d87bf48d70b5b76999833b5f442f31ad67fcde7 (patch) | |
tree | b60be78889877aba753b28f71819c266287d23ee /etc/sshd | |
parent | 7e009f1d29f5adde7b690c72e38979c719161032 (diff) | |
download | pfsense-6d87bf48d70b5b76999833b5f442f31ad67fcde7.zip pfsense-6d87bf48d70b5b76999833b5f442f31ad67fcde7.tar.gz |
Use exec()
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) { if(!file_exists("/etc/ssh/ssh_host_key.pub")) { echo "Restoring SSH from /conf/sshd/"; - exec("/conf/sshd/* /etc/ssh/"); + exec("cp /conf/sshd/* /etc/ssh/"); } } |