From 133bd2b285cc0100a65b7684b0b239e108abc560 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 1 Dec 2011 10:27:44 -0500 Subject: [PATCH] Add the config history restore script to the console menu. --- etc/rc.initial | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/rc.initial b/etc/rc.initial index ef636b4d7d..e100f0e831 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)