diff options
author | jim-p <jimp@pfsense.org> | 2011-12-01 10:27:44 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-12-01 10:28:10 -0500 |
commit | 133bd2b285cc0100a65b7684b0b239e108abc560 (patch) | |
tree | 14aac24afe496426f515d09db2641e4fec4a93f2 /etc/rc.initial | |
parent | 769891b5a48f10e1feb5f017fa7e3269168e8c44 (diff) | |
download | pfsense-133bd2b285cc0100a65b7684b0b239e108abc560.zip pfsense-133bd2b285cc0100a65b7684b0b239e108abc560.tar.gz |
Add the config history restore script to the console menu.
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-x | etc/rc.initial | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.initial b/etc/rc.initial index ef636b4..e100f0e 100755 --- a/etc/rc.initial +++ b/etc/rc.initial @@ -90,7 +90,8 @@ echo " 3) Reset webConfigurator password 11) Restart webConfigurator" echo " 4) Reset to factory defaults 12) ${product} Developer Shell" echo " 5) Reboot system 13) Upgrade from console" echo " 6) Halt system ${sshd_option}" -echo " 7) Ping host ${option98}" +echo " 7) Ping host 15) Restore recent configuration" +echo " ${option98}" if [ "${option99}" != "" ]; then /bin/echo "${option99}" @@ -148,6 +149,9 @@ case ${opmode} in php -f /etc/rc.initial.toggle_sshd ;; 15) + /etc/rc.restore_config_backup + ;; +16) /etc/rc.banner ;; 98) |