summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-29 22:00:46 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-29 22:00:46 -0400
commit6d87bf48d70b5b76999833b5f442f31ad67fcde7 (patch)
treeb60be78889877aba753b28f71819c266287d23ee /etc/sshd
parent7e009f1d29f5adde7b690c72e38979c719161032 (diff)
downloadpfsense-6d87bf48d70b5b76999833b5f442f31ad67fcde7.zip
pfsense-6d87bf48d70b5b76999833b5f442f31ad67fcde7.tar.gz
Use exec()
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 b845fe5..7c708f6 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/";
- exec("/conf/sshd/* /etc/ssh/");
+ exec("cp /conf/sshd/* /etc/ssh/");
}
}
OpenPOWER on IntegriCloud