summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-29 21:29:27 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-29 21:29:27 -0400
commita15d42d8903ce453b2750fa669cebc0ca6d072ec (patch)
treec8f69f5d136ceabbadf455c3d13dd4e6f530ba64 /etc
parent366f1ce94cdf1b8fabe854c8d6ff1459ac5fd93f (diff)
downloadpfsense-a15d42d8903ce453b2750fa669cebc0ca6d072ec.zip
pfsense-a15d42d8903ce453b2750fa669cebc0ca6d072ec.tar.gz
Correct copy commmand
Diffstat (limited to 'etc')
-rwxr-xr-xetc/sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sshd b/etc/sshd
index c355f73..5ca5e49 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -48,7 +48,7 @@
/* restore ssh data for nanobsd platform */
if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) {
if(!file_exists("/etc/ssh/sshd_host_key.pub")) {
- cp("/conf/sshd/* /etc/ssh/");
+ exec("/conf/sshd/* /etc/ssh/");
}
}
OpenPOWER on IntegriCloud