Changeset 47743


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

arc770: switch from uci-defaults to board.d

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

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

Legend:

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

    r47742 r47743  
    11#!/bin/sh 
     2# 
    23# Copyright (C) 2015 OpenWrt.org 
     4# 
    35 
     6. /lib/arc.sh 
    47. /lib/functions/uci-defaults-new.sh 
    58 
    69board_config_update 
    710 
    8 ucidef_set_board_id "$(cat /tmp/sysinfo/board_name)" 
    9 ucidef_set_model_name "$(cat /tmp/sysinfo/model)" 
     11case "$( arc_board_name )" in 
     12"arc-sdp"*) 
     13        ucidef_set_interface_lan "eth0" "dhcp" 
     14        ;; 
     15esac 
    1016 
    1117board_config_flush 
Note: See TracChangeset for help on using the changeset viewer.