summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-02-14 09:56:37 -0500
committerjim-p <jimp@pfsense.org>2014-02-14 09:58:17 -0500
commit407fbf455bbd10144713343dc6e7950eac386fc2 (patch)
tree332643d72ce3595151817313c1c79497a422bd70 /tmp
parentdbfa041c1024edf6836058147714cca89267f8f0 (diff)
downloadpfsense-407fbf455bbd10144713343dc6e7950eac386fc2.zip
pfsense-407fbf455bbd10144713343dc6e7950eac386fc2.tar.gz
Add a mechanism by which the serial port can be forced on always regardless of the config setting. (useful for nano+vga setups)
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php
index fdb1f3c..309be16 100755
--- a/tmp/post_upgrade_command.php
+++ b/tmp/post_upgrade_command.php
@@ -13,7 +13,7 @@
system("pfSsh.php playback gitsync " . escapeshellarg($config['system']['gitsync']['branch']) . " --upgrading");
}
- if($g['platform'] == "embedded") {
+ if($g['platform'] == "embedded" || $g['enableserial_force']) {
$config['system']['enableserial'] = true;
write_config();
}
OpenPOWER on IntegriCloud