From 96af3ad5175dc5fc4bd7f815d131c254784ad744 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 21 Jan 2006 22:57:47 +0000 Subject: 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 --- usr/local/www/diag_backup.php | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/local/www/diag_backup.php') 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.

The firewall is now rebooting due to captive portal."; $reboot_needed = true; } + setup_serial_port(); } else { $input_errors[] = "The configuration could not be restored."; } -- cgit v1.1