Changeset 47641


Ignore:
Timestamp:
2015-11-25T12:53:59+01:00 (2 years ago)
Author:
jow
Message:

Revert "ar71xx: migrate led and network setup to board detection framework"

The board detect code needs more fixes in order to work properly.

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

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

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

    • Property svn:executable deleted
    r47640 r47641  
    11#!/bin/sh 
    22# 
    3 # Copyright (C) 2011-2015 OpenWrt.org 
     3# Copyright (C) 2011 OpenWrt.org 
    44# 
    55 
    6 . /lib/functions/uci-defaults-new.sh 
     6. /lib/functions/uci-defaults.sh 
    77. /lib/ar71xx.sh 
    8  
    9 board_config_update 
    108 
    119board=$(ar71xx_board_name) 
     
    670668esac 
    671669 
    672 board_config_flush 
     670ucidef_commit_leds 
    673671 
    674672exit 0 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network

    • Property svn:executable deleted
    r47640 r47641  
    11#!/bin/sh 
    22# 
    3 # Copyright (C) 2011-2015 OpenWrt.org 
     3# Copyright (C) 2011 OpenWrt.org 
    44# 
    55 
    6 . /lib/functions/uci-defaults-new.sh 
     6[ -e /etc/config/network ] && exit 0 
     7 
     8touch /etc/config/network 
     9 
     10. /lib/functions/uci-defaults.sh 
    711. /lib/ar71xx.sh 
    812 
    9 board_config_update 
    10  
    1113ucidef_set_interface_loopback 
    1214 
    1315board=$(ar71xx_board_name) 
    14  
    1516 
    1617case "$board" in 
     
    537538esac 
    538539 
    539 board_config_flush 
     540uci commit network 
    540541 
    541542exit 0 
Note: See TracChangeset for help on using the changeset viewer.