summaryrefslogtreecommitdiffstats
path: root/etc/rc.reboot
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-24 14:03:54 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-24 14:03:54 -0400
commit2a47e68f1744c051f0a228a4ed6850a9d5800019 (patch)
treed7c5bd821c5c27523afd32257d003ba4071adb92 /etc/rc.reboot
parent0fd8c40948690f6f4eb7edf03421ac186f45d772 (diff)
downloadpfsense-2a47e68f1744c051f0a228a4ed6850a9d5800019.zip
pfsense-2a47e68f1744c051f0a228a4ed6850a9d5800019.tar.gz
Call save_sshkeys on reboot for nanobsd
Diffstat (limited to 'etc/rc.reboot')
-rwxr-xr-xetc/rc.reboot4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud