From 407fbf455bbd10144713343dc6e7950eac386fc2 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 14 Feb 2014 09:56:37 -0500 Subject: Add a mechanism by which the serial port can be forced on always regardless of the config setting. (useful for nano+vga setups) --- tmp/post_upgrade_command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmp') 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(); } -- cgit v1.1