diff options
author | jim-p <jimp@pfsense.org> | 2014-02-14 09:56:37 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-02-14 09:58:17 -0500 |
commit | 407fbf455bbd10144713343dc6e7950eac386fc2 (patch) | |
tree | 332643d72ce3595151817313c1c79497a422bd70 /tmp | |
parent | dbfa041c1024edf6836058147714cca89267f8f0 (diff) | |
download | pfsense-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-x | tmp/post_upgrade_command.php | 2 |
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(); } |