Browse Source

lantiq: add esi

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

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 40326
John Crispin 12 years ago
parent
commit
5a6268c078

+ 7 - 0
target/linux/lantiq/base-files/etc/init.d/esi

@@ -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 || :
+}

+ 1 - 1
target/linux/lantiq/xway/target.mk

@@ -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