lantiq: add esi

http://patchwork.openwrt.org/patch/3703/

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40326 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2014-03-30 09:16:43 +00:00
parent c2d755eb76
commit 2f8977ef9d
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2013 OpenWrt.org
START=19
start() {
esi $(printf '%X' $((1+0x$(tr -d : </sys/class/net/eth0/address)))) 2>/dev/null || :
}

View File

@@ -5,7 +5,7 @@ FEATURES:=squashfs atm mips16
CPU_TYPE:=34kc
CPU_SUBTYPE:=dsp
DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug
DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug atm-esi
define Target/Description
Lantiq XWAY