From 2a47e68f1744c051f0a228a4ed6850a9d5800019 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 24 Jun 2009 14:03:54 -0400 Subject: Call save_sshkeys on reboot for nanobsd --- etc/rc.reboot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/rc.reboot b/etc/rc.reboot index dbb8327..d232429 100755 --- a/etc/rc.reboot +++ b/etc/rc.reboot @@ -18,6 +18,10 @@ else /etc/rc.conf_mount_rw # Save the rrd databases to the config path. cd / && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd + # NanoBSD + if [ -f /root/save_sshkeys ]; then + /root/save_sshkeys + fi /etc/rc.conf_mount_ro fi -- cgit v1.1