#!/bin/sh

[ "x$IFACE" != "xeth0" ] && exit 0

if [ -f /etc/enigma2/hwmac ]; then
	macadr=`cat /etc/enigma2/hwmac`
	if [  "$macadr" != "" ];then
		busybox ip link set addr $macadr dev eth0 2>/dev/null || :
	fi
fi

