Skip to content
Snippets Groups Projects
  • John Crispin's avatar
    a18b35a2
    ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh · a18b35a2
    John Crispin authored
    
    This patch:
     * fixes various mistakes (leading spaces, wrong or missing model names)
     * shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization)
     * sorts boards alphabetically
    
    in base-files/lib/ramips.sh script.
    
    Case statement was tested after above changes with simple script, which:
     * takes model string from dts{,i} file (model = "...")
     * provides this value as case input ($machine)
     * returns output ($name)
    
    Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
    
    SVN-Revision: 46632
    a18b35a2
    History
    ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh
    John Crispin authored
    
    This patch:
     * fixes various mistakes (leading spaces, wrong or missing model names)
     * shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization)
     * sorts boards alphabetically
    
    in base-files/lib/ramips.sh script.
    
    Case statement was tested after above changes with simple script, which:
     * takes model string from dts{,i} file (model = "...")
     * provides this value as case input ($machine)
     * returns output ($name)
    
    Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
    
    SVN-Revision: 46632