summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command.php
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:00 -0500
commit9525f7a6c8175bf6de9f0d70254f17d63f3af93a (patch)
treedbc2b8a93700128400c12d3e3a5cfa8eb30affc0 /tmp/post_upgrade_command.php
parentfe640345b6e7cdf83ce0512088b630aeff5d9589 (diff)
downloadpfsense-9525f7a6c8175bf6de9f0d70254f17d63f3af93a.zip
pfsense-9525f7a6c8175bf6de9f0d70254f17d63f3af93a.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/post_upgrade_command.php')
-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