summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-29 21:28:46 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-29 21:28:46 -0400
commit7e009f1d29f5adde7b690c72e38979c719161032 (patch)
treeba487123207e147c586b6a3a1add5bd080310d67 /etc/sshd
parentd226535c8e82ab04e2190a218b0982ecba410ef7 (diff)
downloadpfsense-7e009f1d29f5adde7b690c72e38979c719161032.zip
pfsense-7e009f1d29f5adde7b690c72e38979c719161032.tar.gz
Doh, correct copy command
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sshd b/etc/sshd
index 5a12bca..b845fe5 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -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/";
- cp("/conf/sshd/* /etc/ssh/");
+ exec("/conf/sshd/* /etc/ssh/");
}
}
OpenPOWER on IntegriCloud