summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.lib.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-11-21 11:13:17 -0500
committerjim-p <jimp@pfsense.org>2011-11-21 11:13:17 -0500
commit673966e45f35cc030a1535c223a08a9e94d189a9 (patch)
tree1dfb68d82703ff14e53c592f30297da50edb72c5 /etc/inc/config.lib.inc
parent927ea6e18e1883596110a4eb6d3d114fa3a88d98 (diff)
downloadpfsense-673966e45f35cc030a1535c223a08a9e94d189a9.zip
pfsense-673966e45f35cc030a1535c223a08a9e94d189a9.tar.gz
Setup the serial port in the factory reset as well, in case the default config in a rebrand has the serial console active.
Diffstat (limited to 'etc/inc/config.lib.inc')
-rw-r--r--etc/inc/config.lib.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index 05465c3..f08cff8 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -606,7 +606,7 @@ function reset_factory_defaults($lock = false) {
if (!$lock)
unlock($lockkey);
conf_mount_ro();
-
+ setup_serial_port();
return 0;
}
OpenPOWER on IntegriCloud