diff options
author | Ermal <eri@pfsense.org> | 2010-11-30 23:55:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-30 23:55:45 +0000 |
commit | 7a9ed3010ae99d2422427f191f662516c2525d52 (patch) | |
tree | ddaf2b086f6f4bb388c61deb6930ac7ca2b36a8c /etc/sshd | |
parent | 88ecfc5870a899a15bdaa00dd708725579abc7d4 (diff) | |
download | pfsense-7a9ed3010ae99d2422427f191f662516c2525d52.zip pfsense-7a9ed3010ae99d2422427f191f662516c2525d52.tar.gz |
Preseve attributes of files during copy.
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |