summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-21 22:57:47 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-21 22:57:47 +0000
commit96af3ad5175dc5fc4bd7f815d131c254784ad744 (patch)
tree9ce0a721cc9b3b48228b89b1915cb486aa39d2fc /usr/local/www/diag_backup.php
parentb5768352c782554d1d30850fab74f22e42055911 (diff)
downloadpfsense-96af3ad5175dc5fc4bd7f815d131c254784ad744.zip
pfsense-96af3ad5175dc5fc4bd7f815d131c254784ad744.tar.gz
MFC 9548
Shift serial port toggle routine to pfsense-utils.inc. Call this function after configuration import to setup needed bits on system for serial console if need be. Shift console locjout routine to pfsense-utils.inc. Call this function from serial port code to setup if auto login / console lockout is enabled after config restore
Diffstat (limited to 'usr/local/www/diag_backup.php')
-rwxr-xr-xusr/local/www/diag_backup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index bdd01ac..d27155a 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -171,6 +171,7 @@ if ($_POST) {
$savemsg = "The configuration has been restored.<p>The firewall is now rebooting due to captive portal.";
$reboot_needed = true;
}
+ setup_serial_port();
} else {
$input_errors[] = "The configuration could not be restored.";
}
OpenPOWER on IntegriCloud