From 7a9ed3010ae99d2422427f191f662516c2525d52 Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 30 Nov 2010 23:55:10 +0000 Subject: Preseve attributes of files during copy. --- etc/sshd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/sshd') 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(); -- cgit v1.1