diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-24 14:03:54 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-24 14:03:54 -0400 |
commit | 2a47e68f1744c051f0a228a4ed6850a9d5800019 (patch) | |
tree | d7c5bd821c5c27523afd32257d003ba4071adb92 /etc/rc.reboot | |
parent | 0fd8c40948690f6f4eb7edf03421ac186f45d772 (diff) | |
download | pfsense-2a47e68f1744c051f0a228a4ed6850a9d5800019.zip pfsense-2a47e68f1744c051f0a228a4ed6850a9d5800019.tar.gz |
Call save_sshkeys on reboot for nanobsd
Diffstat (limited to 'etc/rc.reboot')
-rwxr-xr-x | etc/rc.reboot | 4 |
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 |