From 43640486d6483463121aa07737dc1b748162b49f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 24 Jun 2009 14:16:50 -0400 Subject: Backup SSH keys for NanoBSD --- etc/sshd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/sshd b/etc/sshd index fd80753..0e351d1 100755 --- a/etc/sshd +++ b/etc/sshd @@ -172,6 +172,10 @@ echo "done.\n"; } + // NanoBSD + if(file_exists("/root/save_sshkeys")) + exec("/root/save_sshkeys"); + conf_mount_ro(); ?> \ No newline at end of file -- cgit v1.1