summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-30 23:55:10 +0000
committerErmal <eri@pfsense.org>2010-11-30 23:55:45 +0000
commit7a9ed3010ae99d2422427f191f662516c2525d52 (patch)
treeddaf2b086f6f4bb388c61deb6930ac7ca2b36a8c /etc/sshd
parent88ecfc5870a899a15bdaa00dd708725579abc7d4 (diff)
downloadpfsense-7a9ed3010ae99d2422427f191f662516c2525d52.zip
pfsense-7a9ed3010ae99d2422427f191f662516c2525d52.tar.gz
Preseve attributes of files during copy.
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 4052423..b0aa40f 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -176,7 +176,7 @@
if($g['platform'] == "nanobsd") {
if(!is_dir("/conf/sshd"))
exec("mkdir /conf/sshd");
- exec("cp /etc/ssh/ssh_host* /conf/sshd");
+ exec("/bin/cp -p /etc/ssh/ssh_host* /conf/sshd");
}
conf_mount_ro();
OpenPOWER on IntegriCloud