summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-24 14:16:50 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-24 14:16:50 -0400
commit43640486d6483463121aa07737dc1b748162b49f (patch)
treecbede6417d74e977e0c3c8b719e318ea99da20e1 /etc
parent2a47e68f1744c051f0a228a4ed6850a9d5800019 (diff)
downloadpfsense-43640486d6483463121aa07737dc1b748162b49f.zip
pfsense-43640486d6483463121aa07737dc1b748162b49f.tar.gz
Backup SSH keys for NanoBSD
Diffstat (limited to 'etc')
-rwxr-xr-xetc/sshd4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud