openwrt/target/linux/lantiq/base-files/etc/init.d/esi
John Crispin 5a6268c078 lantiq: add esi
http://patchwork.openwrt.org/patch/3703/

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

SVN-Revision: 40326
2014-03-30 09:16:43 +00:00

8 lines
166 B
Bash
Executable File

#!/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 || :
}