openwrt-owl/target/linux/lantiq/base-files/etc/init.d/esi

8 lines
172 B
Bash
Executable File

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