Closes-Bug: #1326850
    This script takes an OSD string name and enable/disable
    argument to flash LED assuming correct LSI controller
    is present

    Following status code is returned by the script:
    0 - success
    1 - failure (command failed)
    2 - Correct LSI controller not present

    Changes done based on review comments
    1. added function for precondition checks
    2. if-then condition moved to correct place
    3. code fragment altered to handle error conditions
       at beginning
Change-Id: Iaba93a020484de54c99ea7527a5b1b8f08e408e7
Merge "Closes-Bug: #1326850     This script takes an OSD string name and enable/disable     argument to flash LED assuming correct LSI controller     is present" into R1.10