Changeset 47742


Ignore:
Timestamp:
2015-12-04T00:07:53+01:00 (2 years ago)
Author:
jow
Message:

mxs: convert from uci-defaults to board.d

Signed-off-by: Jo-Philipp Wich <jow@…>

Location:
trunk/target/linux/mxs/base-files/etc
Files:
1 added
1 deleted
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/mxs/base-files/etc/board.d/02_network

    r47741 r47742  
    11#!/bin/sh 
    2 # 
    32# Copyright (C) 2013-2015 OpenWrt.org 
    4 # 
    53 
    64. /lib/functions/uci-defaults-new.sh 
    7 . /lib/imx6.sh 
    8  
    9 board=$(imx6_board_name) 
     5. /lib/mxs.sh 
    106 
    117board_config_update 
    128 
     9board=$(mxs_board_name) 
     10 
    1311case "$board" in 
    14 *gw51xx |\ 
    15 *gw52xx) 
     12*) 
    1613        ucidef_set_interface_lan 'eth0' 
    17         ;; 
    18 *gw53xx |\ 
    19 *gw54xx |\ 
    20 *gw552x) 
    21         ucidef_set_interfaces_lan_wan 'eth0' 'eth1' 
    22         ;; 
    23 *wandboard) 
    24         ucidef_set_interface_wan 'eth0' 
    2514        ;; 
    2615esac 
Note: See TracChangeset for help on using the changeset viewer.