Project

General

Profile

« Previous | Next » 

Revision 4cf2cc4a

Added by Scott Ullrich about 20 years ago

  • Drop kick the reboot to the moon!

View differences:

usr/local/www/diag_backup.php
142 142
						conf_mount_rw();
143 143
						touch("/needs_package_sync");
144 144
						conf_mount_ro();
145
						system_reboot();
146
						$savemsg = "The configuration has been restored. The firewall is now rebooting.";
145
						reload_all();
146
						$savemsg = "The configuration has been restored. The firewall is now reloading the settings.";
147 147
					} else {
148 148
						$input_errors[] = "The configuration could not be restored.";
149 149
					}
......
159 159
			if ($ver2restore <> "") {
160 160
				$conf_file = "{$g['cf_conf_path']}/bak/config-" . strtotime($ver2restore) . ".xml";
161 161
                                if (config_install($conf_file) == 0) {
162
                                        system_reboot();
163
                                        $savemsg = "The configuration has been restored. The firewall is now rebooting.";
162
                                        reload_all();
163
                                        $savemsg = "The configuration has been restored. The firewall is now reloading the settings.";
164 164
                                } else {
165 165
                                        $input_errors[] = "The configuration could not be restored.";
166 166
                                }
......
232 232
                      <input name="Submit" type="submit" class="formbtn" id="restore" value="Restore configuration">
233 233
                      <p>
234 234
                      <strong><span class="red">Note:</span></strong><br>
235
                      The firewall will reboot after restoring the configuration.<br>
235
                      The firewall will reload the settings after restoring the configuration.<br>
236 236
                  </td>
237 237
                </tr>
238 238
		<?php if($config['installedpackages']['package'] != "") { ?>

Also available in: Unified diff